ApiCheckboxWidget
ApiCheckboxWidget is a subclass of ApiBaseWidget.
Methods
| Method | Returns | Description |
|---|---|---|
| Delete | boolean | Removes widget from parent field. |
| GetBackgroundColor | ApiColor | Gets widget background color. |
| GetBorderColor | ApiColor | Gets widget border color. |
| GetBorderStyle | WidgetBorderStyle | Gets widget border style. |
| GetBorderWidth | WidgetBorderWidth | Gets widget border width. |
| GetCheckStyle | CheckStyle | Gets widget checkbox style. |
| GetClassType | "checkboxWidget" | Returns a type of the ApiCheckboxWidget class. |
| GetExportValue | string | Gets widget export value. |
| GetPosition | Point | Gets widget position. |
| GetRect | Rect | Sets field rect. |
| GetTextColor | ApiColor | Gets widget text color. |
| GetTextSize | pt | Gets widget text size. 💡 Text size === 0 means autofit |
| IsAutoFit | boolean | Checks if text is autofit. |
| IsChecked | boolean | Checks if checkbox widget is checked. |
| IsCheckedByDefault | boolean | Checks if widget is checked by default. |
| SetAutoFit | boolean | Sets text autofit. |
| SetBackgroundColor | boolean | Sets widget background color. |
| SetBorderColor | boolean | Sets widget border color. |
| SetBorderStyle | boolean | Sets widget border style. |
| SetBorderWidth | boolean | Sets widget border width. |
| SetCheckStyle | boolean | Sets widget checkbox style. |
| SetChecked | boolean | Sets checkbox widget checked. |
| SetCheckedByDefault | boolean | Sets widget checked by default. |
| SetExportValue | boolean | Sets widget export value. |
| SetPosition | boolean | Sets widget position. |
| SetRect | boolean | Sets field rect. |
| SetTextColor | boolean | Sets widget text color. |
| SetTextSize | boolean | Sets widget text size. 💡 Text size === 0 means autofit |