PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method creates a Checkbox control in a PDF document.
|
| LONG AddCheckBox ( FLOAT left, FLOAT top, FLOAT right, FLOAT bottom, BSTR name ) |
Parameters
left
X coordinate of the top-left corner of the bounding rectangle.
top
Y coordinate of the top-left corner of the bounding rectangle.
right
X coordinate of the bottom-right corner of the bounding rectangle.
bottom
Y coordinate of the bottom-right corner of the bounding rectangle.
name
Name of the control.
Return value
Index of the Checkbox
Remarks
This method creates a Checkbox control with the name name on the current PDF page in an area bounded by the specified coordinates.
The return value is an annotation/control identifier in the document's annotations collection and can be used in AddControlToAction and CurrentAnnotation.
See AddButton method for examples.
See Also
Reference


