CheckBoxWidgetCreate Method (PDFDoc, Rect, String) |
Creates a new Check Box 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,
string field_name
)
Public Shared Function Create (
doc As PDFDoc,
pos As Rect,
field_name As String
) As CheckBoxWidget
public:
static CheckBoxWidget^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] String^ field_name
)
pdftron.PDF.Annots.CheckBoxWidget.Create = function(doc, pos, field_name);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
The document to which the annotation is to be added.
- pos
- Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in
user space coordinates.
- field_name
- Type: SystemString
The name of 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