Skip to main content

ApiFormRoles

Class representing a collection of form roles.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddbooleanAdds a new form role.
GetAllRolesstring[]Lists all available roles.
GetCountnumberReturns a number of form roles.
GetRoleColornull | ObjectReturns the RGB color of the specified role.
HaveRolebooleanChecks if a role with the specified name exists.
MoveDownbooleanMoves a role down in filling order.
MoveUpbooleanMoves a role up in filling order.
RemovebooleanRemoves a role with the specified name.
SetRoleColorbooleanSets the color for the specified role.