跳到主要内容

ApiComplexForm

Represents the ApiComplexForm class.

Methods

MethodReturnsDescription
AddbooleanAppends the text content of the given form to the end of the current complex form.
ClearbooleanClears the current form.
ClearContentbooleanClears all content from the current complex form, resetting it to its placeholder state.
CopyApiFormCopies the current form (copies with the shape if it exists).
GetClassType"form"Returns a type of the ApiFormBase class.
GetFormKeystringReturns the current form key.
GetFormTypeFormTypeReturns a type of the current form.
GetRolestringReturns the role of the current form.
GetSubFormsApiForm[]Returns an ordered list of subforms.
GetTagstringReturns the tag attribute for the current form.
GetTextstringReturns the text from the current form.
GetTextPrApiTextPrReturns the text properties from the current form. Used if possible for this type of form*
GetTipTextstringReturns the tip text of the current form.
GetWrapperShapeApiShapeReturns a shape in which the form is placed to control the position and size of the fixed size form frame. The null value will be returned for the inline forms.
IsFixedbooleanChecks if the current form is fixed size.
IsRequiredbooleanChecks if the current form is required.
MoveCursorOutsidebooleanPlaces a cursor before/after the current form.
SetBackgroundColorbooleanSets the background color to the current form.
SetBorderColorbooleanSets the border color to the current form.
SetFormKeybooleanSets a key to the current form.
SetPlaceholderTextbooleanSets the placeholder text to the current form. Can't be set to checkbox or radio button.*
SetRequiredbooleanSpecifies if the current form should be required.
SetRolebooleanSets the role to the current form.
SetTagbooleanSets the tag attribute to the current form.
SetTextPrbooleanSets the text properties to the current form. Used if possible for this type of form*
SetTipTextbooleanSets the tip text to the current form.
ToFixedbooleanConverts the current form to a fixed size form.
ToInlinebooleanConverts the current form to an inline form. Picture form can't be converted to an inline form, it's always a fixed size object.*