Skip to main content

addObjectCheckBox

Creates a checkbox – a small rectangle followed by text which toggles its state and generates an event when tapped with the pen. Text is displayed in the current font.

ParameterDescription
id

The following values have special meanings when used with a signature object.
Cannot be any of the values reserved for text or button objects: who, why, Ok, Clear, Cancel.

x, y

Position of the top left corner of the object on the pad display.
Value can either be absolute position in pixels, or one of the strings:

  • x: "left", "right", "centre"
  • y: "top", "middle", "bottom"
dataText to display.
options

A combination of values from the CheckboxOptions enum (Optional)

Return values
The added Object if success or null if there is some error.