addObjectButton
Creates a button – text surrounded by a rectangle which generates a click event when tapped with the pen. Text is displayed in the current font
Parameter | Description |
---|---|
id | The following values have special meanings when used with a signature or input object: |
x, y | Position of the top left corner of the object on the pad display.
|
data | Text to display. |
options | Either, an integer specifying button width in pixels or an ObjectOptions object. |
Return values |
---|
The added Object if success or null if there is some error. |