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| Modifier | Constructor and Description |
|---|---|
protected |
PdfSignatureFormField(PdfDictionary pdfObject) |
protected |
PdfSignatureFormField(PdfDocument pdfDocument) |
protected |
PdfSignatureFormField(PdfWidgetAnnotation widget,
PdfDocument pdfDocument) |
| 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 |
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, 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)
protected PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
protected PdfSignatureFormField(PdfDictionary pdfObject)
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.Copyright © 1998–2023 Apryse Group NV. All rights reserved.