Skip to main content

ApiTextForm

Represents the ApiTextForm class.

Methods

MethodReturnsDescription
ClearNoneClears the current form.
CopyApiFormCopies the current form (copies with the shape if it exists).
GetCharactersLimitnumberReturns a limit of the text field characters.
GetClassType"form"Returns a type of the ApiFormBase class.
GetFormKeystringReturns the current form key.
GetFormTypeFormTypeReturns a type of the current form.
GetTextstringReturns the text from the current form.\ Returns the value as a string if possible for the given form type*
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.
IsAutoFitbooleanChecks if the text field content is autofit, i.e. whether the font size adjusts to the size of the fixed size form.
IsCombbooleanChecks if the text field is a comb of characters with the same cell width.
IsFixedbooleanChecks if the current form is fixed size.
IsMultilinebooleanChecks if the current text field is multiline.
IsRequiredbooleanChecks if the current form is required.
MoveCursorOutsideNonePlaces a cursor before/after the current form.
SetAutoFitbooleanSpecifies if the text field content should be autofit, i.e. whether the font size adjusts to the size of the fixed size form.
SetBackgroundColorbooleanSets the background color to the current form.
SetBorderColorbooleanSets the border color to the current form.
SetCellWidthbooleanSets the cell width to the applied comb of characters.
SetCharactersLimitbooleanSets a limit to the text field characters.
SetCombbooleanSpecifies if the text field should be a comb of characters with the same cell width.\ The maximum number of characters must be set to a positive value.
SetFormKeybooleanSets a key to the current form.
SetMultilinebooleanSpecifies if the current text field should be miltiline.
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.
SetTextbooleanSets the text to the current text field.
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.*