public class PdfSignatureFormField extends PdfFormField
checkType, FF_MULTILINE, FF_NO_EXPORT, FF_PASSWORD, FF_READ_ONLY, FF_REQUIRED, form, img, textcolor, DEFAULT_FONT_SIZE, font, fontSize, MIN_FONT_SIZE, parent, pdfAConformanceLevel, pdfConformanceLevel| Modifier | Constructor and Description |
|---|---|
protected |
PdfSignatureFormField(PdfDictionary pdfObject)
Creates a signature form field as a wrapper object around a
PdfDictionary. |
protected |
PdfSignatureFormField(PdfDocument pdfDocument)
Creates a minimal
PdfSignatureFormField. |
protected |
PdfSignatureFormField(PdfWidgetAnnotation widget,
PdfDocument pdfDocument)
Creates a signature form field as a parent of a
PdfWidgetAnnotation. |
| Modifier and Type | Method and Description |
|---|---|
PdfName |
getFormType()
Returns
Sig, the form type for signature form fields. |
PdfSigFieldLock |
getSigFieldLockDictionary()
Gets the
PdfSigFieldLock, which contains fields that
must be locked if the document is signed. |
PdfSignatureFormField |
setBackgroundLayer(PdfFormXObject n0)
Sets the background layer that is present when creating the signature field.
|
PdfSignatureFormField |
setIgnorePageRotation(boolean ignore)
Sets the boolean value which indicates if page rotation should be ignored for the signature appearance.
|
PdfSignatureFormField |
setReuseAppearance(boolean reuseAppearance)
Indicates that the existing appearances needs to be reused as a background.
|
PdfSignatureFormField |
setSignatureAppearanceLayer(PdfFormXObject n2)
Sets the signature appearance layer that contains information about the signature, e.g.
|
PdfSignatureFormField |
setValue(PdfObject value)
Adds the signature to the signature field.
|
addKid, addKid, addKid, getAdditionalAction, getAllChildFields, getAllChildFormFields, getAlternativeName, getAppearanceStates, getChildField, getChildFields, getChildFormAnnotations, getChildFormFields, getDefaultAppearance, getDefaultStyle, getDefaultValue, getDisplayValue, getFieldFlag, getFieldFlags, getFirstFormAnnotation, getFormFieldKeys, getFormType, getJustification, getKids, getMappingName, getOptions, getPartialFieldName, getRichText, getValue, getValueAsString, getWidgets, isFormField, isInReadingMode, isMultiline, isNoExport, isPassword, isReadOnly, isRequired, makeFieldFlag, makeFormField, makeFormFieldOrAnnotation, regenerateField, release, removeChild, removeChildren, setAdditionalAction, setAlternativeName, setCheckType, setColor, setDefaultStyle, setDefaultValue, setFieldFlag, setFieldFlag, setFieldFlags, setFieldName, setJustification, setMappingName, setNoExport, setOptions, setReadOnly, setRequired, setRichText, setValue, setValue, setValue, setValue, updateDefaultAppearancedisableCurrentFieldRegeneration, disableFieldRegeneration, enableCurrentFieldRegeneration, enableFieldRegeneration, equals, getColor, getDocument, getFieldName, getFont, getFontSize, getParent, getParentField, getPdfAConformanceLevel, getPdfConformanceLevel, getPdfObject, hashCode, isFieldRegenerationEnabled, isTerminalFormField, isWrappedObjectMustBeIndirect, put, remove, setFont, setFontAndSize, setFontSize, setFontSize, setFontSizeAutoScale, setParentensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleaseprotected PdfSignatureFormField(PdfDocument pdfDocument)
PdfSignatureFormField.pdfDocument - The PdfDocument instance.protected PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfSignatureFormField.pdfDocument - The PdfDocument instance.protected PdfSignatureFormField(PdfDictionary pdfObject)
PdfDictionary.
This PdfDictionary must be an indirect object.pdfObject - the dictionary to be wrapped, must have an indirect reference.public PdfName getFormType()
Sig, the form type for signature form fields.getFormType in class PdfFormFieldPdfNamepublic PdfSignatureFormField setValue(PdfObject value)
value - the signature to be contained in the signature field, or an indirect reference to itpublic PdfSigFieldLock getSigFieldLockDictionary()
PdfSigFieldLock, which contains fields that
must be locked if the document is signed.PdfSigFieldLockpublic PdfSignatureFormField setBackgroundLayer(PdfFormXObject n0)
n0 - layer xObject.PdfSignatureFormField instance.public PdfSignatureFormField setSignatureAppearanceLayer(PdfFormXObject n2)
n2 - layer xObject.PdfSignatureFormField instance.public PdfSignatureFormField setReuseAppearance(boolean reuseAppearance)
reuseAppearance - is an appearances reusing flag value to set.PdfSignatureFormField instance.public PdfSignatureFormField setIgnorePageRotation(boolean ignore)
Default value is true.
ignore - boolean value to set.PdfSignatureFormField instance.Copyright © 1998–2024 Apryse Group NV. All rights reserved.