CheckBoxWidgetCreate Method (PDFDoc, Rect, Field) |
Creates a new Widget annotation, in the specified document.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static CheckBoxWidget Create(
PDFDoc doc,
Rect pos,
Field field
)
Public Shared Function Create (
doc As PDFDoc,
pos As Rect,
field As Field
) As CheckBoxWidget
public:
static CheckBoxWidget^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] Field^ field
)
pdftron.PDF.Annots.CheckBoxWidget.Create = function(doc, pos, field);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
A document to which the annotation is added.
- pos
- Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in
user space coordinates.
- field
- Type: pdftron.PDFField
the field for which to create a CheckBox widget
Return Value
Type:
CheckBoxWidget A newly created blank Check Box Widget annotation.
Exceptions Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also