Skip to main content

addObject

Adds an item to the pad control list.

ParameterDescription
typeObjectType enum value, and it could be one of the following values:
WizCtl.ObjectButton
WizCtl.ObjectText
WizCtl.ObjectCheckbox
WizCtl.ObjectDisplayAtShutdown
WizCtl.ObjectImage
WizCtl.ObjectInking
WizCtl.ObjectInput
WizCtl.ObjectInputEcho
WizCtl.ObjectRadioButton
WizCtl.ObjectSignature
WizCtl.ObjectText
idString, Specifies an identifier for the object.
x,yPosition 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"
dataValue dependent on object type
optionsValue dependent on object type
Return values
The added Object if success or null if there is some error.