Class PdfSignatureFormField
An AcroForm field containing signature data.
public class PdfSignatureFormField : PdfFormField
- Inheritance
-
PdfSignatureFormField
- Inherited Members
Constructors
PdfSignatureFormField(PdfWidgetAnnotation, PdfDocument)
Creates a signature form field as a parent of a PdfWidgetAnnotation.
protected PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Parameters
widget
PdfWidgetAnnotationThe widget which will be a kid of the PdfSignatureFormField.
pdfDocument
PdfDocumentThe PdfDocument instance.
PdfSignatureFormField(PdfDictionary)
Creates a signature form field as a wrapper object around a PdfDictionary.
protected PdfSignatureFormField(PdfDictionary pdfObject)
Parameters
pdfObject
PdfDictionarythe dictionary to be wrapped, must have an indirect reference.
Remarks
Creates a signature form field as a wrapper object around a PdfDictionary. This PdfDictionary must be an indirect object.
PdfSignatureFormField(PdfDocument)
Creates a minimal PdfSignatureFormField.
protected PdfSignatureFormField(PdfDocument pdfDocument)
Parameters
pdfDocument
PdfDocumentThe PdfDocument instance.
Methods
GetFormType()
Returns Sig
, the form type for signature form fields.
public override PdfName GetFormType()
Returns
GetSigFieldLockDictionary()
Gets the PdfSigFieldLock , which contains fields that must be locked if the document is signed.
public virtual PdfSigFieldLock GetSigFieldLockDictionary()
Returns
- PdfSigFieldLock
a dictionary containing locked fields.
- See Also
SetBackgroundLayer(PdfFormXObject)
Sets the background layer that is present when creating the signature field.
public virtual PdfSignatureFormField SetBackgroundLayer(PdfFormXObject n0)
Parameters
n0
PdfFormXObjectlayer xObject.
Returns
- PdfSignatureFormField
this same PdfSignatureFormField instance.
SetIgnorePageRotation(bool)
Sets the boolean value which indicates if page rotation should be ignored for the signature appearance.
public virtual PdfSignatureFormField SetIgnorePageRotation(bool ignore)
Parameters
ignore
boolboolean value to set.
Returns
- PdfSignatureFormField
this same PdfSignatureFormField instance.
Remarks
Sets the boolean value which indicates if page rotation should be ignored for the signature appearance.
Default value is true.SetReuseAppearance(bool)
Indicates that the existing appearances needs to be reused as a background.
public virtual PdfSignatureFormField SetReuseAppearance(bool reuseAppearance)
Parameters
reuseAppearance
boolis an appearances reusing flag value to set.
Returns
- PdfSignatureFormField
this same PdfSignatureFormField instance.
SetSignatureAppearanceLayer(PdfFormXObject)
Sets the signature appearance layer that contains information about the signature, e.g. the line art for the handwritten signature, the text giving the signer’s name, date, reason, location and so on.
public virtual PdfSignatureFormField SetSignatureAppearanceLayer(PdfFormXObject n2)
Parameters
n2
PdfFormXObjectlayer xObject.
Returns
- PdfSignatureFormField
this same PdfSignatureFormField instance.
SetValue(PdfObject)
Adds the signature to the signature field.
public virtual PdfSignatureFormField SetValue(PdfObject value)
Parameters
value
PdfObjectthe signature to be contained in the signature field, or an indirect reference to it
Returns
- PdfSignatureFormField
the edited field