SignatureWidgetCreate Method (PDFDoc, Rect, DigitalSignatureField) |
Creates a new SignatureWidget annotation associated with a particular DigitalSignatureField object (representing a signature-type form field) in the specified document.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static SignatureWidget Create(
PDFDoc doc,
Rect pos,
DigitalSignatureField field
)
Public Shared Function Create (
doc As PDFDoc,
pos As Rect,
field As DigitalSignatureField
) As SignatureWidget
public:
static SignatureWidget^ Create(
[InAttribute] PDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] DigitalSignatureField^ field
)
pdftron.PDF.Annots.SignatureWidget.Create = function(doc, pos, field);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
The document to which the widget is to be added. - pos
- Type: pdftron.PDFRect
A rectangle specifying the widget's bounds in default user space units. - field
- Type: pdftron.PDFDigitalSignatureField
The digital signature field for which to create a signature widget.
Return Value
Type:
SignatureWidgetA newly-created blank SignatureWidget annotation.
Exceptions Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also