ApiDateForm
Represents the ApiDateForm class.
Methods
| Method | Returns | Description |
|---|---|---|
| Clear | boolean | Clears the current form. |
| Copy | ApiForm | Copies the current form (copies with the shape if it exists). |
| GetClassType | "dateForm" | Returns a type of the ApiDateForm class. |
| GetDate | undefined | Date | Returns the date of the current form. |
| GetFormKey | string | Returns the current form key. |
| GetFormType | FormType | Returns a type of the current form. |
| GetFormat | string | Gets the date format of the current form. |
| GetLanguage | string | Gets the used date language of the current form. |
| GetPlaceholderText | string | Returns the placeholder text from the current form. |
| GetRole | string | Returns the role of the current form. |
| GetTag | string | Returns the tag attribute for the current form. |
| GetText | string | Returns the text from the current form. |
| GetTextPr | ApiTextPr | Returns the text properties from the current form. Used if possible for this type of form |
| GetTime | undefined | number | Returns the timestamp of the current form. |
| GetTipText | string | Returns the tip text of the current form. |
| GetWrapperShape | ApiShape | Returns 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. |
| IsFixed | boolean | Checks if the current form is fixed size. |
| IsRequired | boolean | Checks if the current form is required. |
| MoveCursorOutside | boolean | Places a cursor before/after the current form. |
| SetBackgroundColor | boolean | Sets the background color to the current form. |
| SetBorderColor | boolean | Sets the border color to the current form. |
| SetDate | boolean | Sets the date to the current form. |
| SetFormKey | boolean | Sets a key to the current form. |
| SetFormat | boolean | Sets the date format to the current form. |
| SetLanguage | boolean | Sets the date language to the current form. |
| SetPlaceholderText | boolean | Sets the placeholder text to the current form. Can't be set to checkbox or radio button. |
| SetRequired | boolean | Specifies if the current form should be required. |
| SetRole | boolean | Sets the role to the current form. |
| SetTag | boolean | Sets the tag attribute to the current form. |
| SetTextPr | boolean | Sets the text properties to the current form. Used if possible for this type of form |
| SetTime | boolean | Sets the timestamp to the current form. |
| SetTipText | boolean | Sets the tip text to the current form. |
| ToFixed | boolean | Converts the current form to a fixed size form. |
| ToInline | boolean | Converts the current form to an inline form. Picture form can't be converted to an inline form, it's always a fixed size object. |