DRAW.CHECKBOX
Define a graphical checkbox button on a given drawing.
Syntax
=DRAW.CHECKBOX(X, Y, Width, Height, [LineColor], [FillColor], [Angle], Label, [Value])
Arguments
| Name | Description |
|---|---|
| X | X Coordinate in 1/100th mm |
| Y | Y Coordinate in 1/100th mm |
| Width | Width in 1/100th mm |
| Height | Height in 1/100th mm |
| LineColor (optional) | Options: - None for no line - Hexadecimal color value ( #FF0000 for Red) |
| FillColor (optional) | Hexadecimal color value ("#FF0000" for Red) |
| Angle (optional) | Angle in radians. |
| Label | Label to display |
| Value (optional) | Current state of the button. TRUE for pushed and FALSE for released. If a cell reference is used, a value change from user interaction will be pushed into that cell. |
Return
TRUE, if checkbox could be created.
Hint
This function should not be used in a cell
Examples
| Formula | Result | Comment |
|---|---|---|
| TRUE | A checkbox with "Checkbox" as label. In A1 TRUE or FALSE is printed, depending on the state of the box. |