| java.lang.Object | |||
| ↳ | com.pdftron.pdf.Annot | ||
| ↳ | com.pdftron.pdf.annots.Widget | ||
| ↳ | com.pdftron.pdf.annots.SignatureWidget | ||
An object representing a Signature used in a PDF Form. These Widgets can be signed directly, or signed using a DigitalSignatureField.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.annots.Widget
| |||||||||||
From class
com.pdftron.pdf.Annot
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SignatureWidget(Obj d)
Creates a SignatureWidget annotation and initializes it using given Cos/SDF object.
| |||||||||||
|
SignatureWidget()
Creates an empty SignatureWidget annotation.
| |||||||||||
|
SignatureWidget(Annot annot)
Creates a SignatureWidget annotation and initialize it using given annotation object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static SignatureWidget |
create(Doc doc, Rect pos, DigitalSignatureField field)
Creates a new SignatureWidget annotation associated with a particular DigitalSignatureField object (representing a signature-type form field) in the specified document.
| ||||||||||
| static SignatureWidget |
create(Doc doc, Rect pos, String field_name)
Creates a new SignatureWidget annotation in the specified document, and adds a signature form field to the document.
| ||||||||||
| static SignatureWidget |
create(Doc doc, Rect pos, Field field)
Creates a new SignatureWidget annotation associated with a particular form field in the specified document.
| ||||||||||
| static SignatureWidget |
create(Doc doc, Rect pos)
Creates a new SignatureWidget annotation in the specified document, and adds an associated signature form field to the document with a default Field name.
| ||||||||||
| void |
createSignatureAppearance(Image img)
A function that will create and add an appearance to this widget
by centering an image within it.
| ||||||||||
| DigitalSignatureField |
getDigitalSignatureField()
Retrieves the DigitalSignatureField associated with this SignatureWidget.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.annots.Widget
| |||||||||||
From class
com.pdftron.pdf.Annot
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a SignatureWidget annotation and initializes it using given Cos/SDF object.
Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.
| d | The Cos/SDF object to initialze the annotation with. |
|---|
Creates an empty SignatureWidget annotation.
Creates a SignatureWidget annotation and initialize it using given annotation object.
Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.
| annot | the annot |
|---|
| PDFNetException |
|---|
Creates a new SignatureWidget annotation associated with a particular DigitalSignatureField object (representing a signature-type form field) in the specified document.
| doc | The document to which the widget is to be added. |
|---|---|
| pos | A rectangle specifying the widget's bounds in default user space units. |
| field | The digital signature field for which to create a signature widget. |
| PDFNetException |
|---|
Creates a new SignatureWidget annotation in the specified document, and adds a signature form field to the document.
| doc | The document to which the widget is to be added. |
|---|---|
| pos | A rectangle specifying the widget's bounds in default user space units. |
| field_name | The name of the digital signature field to create. |
| PDFNetException |
|---|
Creates a new SignatureWidget annotation associated with a particular form field in the specified document.
| doc | The document to which the widget is to be added. |
|---|---|
| pos | A rectangle specifying the widget's bounds in default user space units. |
| field | The digital signature field for which to create a signature widget. |
| PDFNetException |
|---|
Creates a new SignatureWidget annotation in the specified document, and adds an associated signature form field to the document with a default Field name.
| doc | The document to which the widget is to be added. |
|---|---|
| pos | A rectangle specifying the widget's bounds in default user space units. |
| PDFNetException |
|---|
A function that will create and add an appearance to this widget by centering an image within it.
| img | An Image object representing the image to use. |
|---|
| PDFNetException |
|---|
Retrieves the DigitalSignatureField associated with this SignatureWidget.
| PDFNetException |
|---|