TextWidgetCreate Method (PDFDoc, Rect, Field) |
Creates a new Text Widget annotation, in the specified document.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static TextWidget Create(
PDFDoc doc,
Rect pos,
Field field
)
Public Shared Function Create (
doc As PDFDoc,
pos As Rect,
field As Field
) As TextWidget
public:
static TextWidget^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] Field^ field
)
pdftron.PDF.Annots.TextWidget.Create = function(doc, pos, field);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
The 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 Text Widget.
Return Value
Type:
TextWidget A newly created blank Widget annotation.
Exceptions Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also