public class PdfSignatureFormField extends PdfFormField
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, backgroundColor, borderColor, borderWidth, check, checkType, circle, color, cross, DA_COLOR, DA_FONT, DA_SIZE, DEFAULT_FONT_SIZE, diamond, FF_MULTILINE, FF_NO_EXPORT, FF_PASSWORD, FF_READ_ONLY, FF_REQUIRED, font, fontSize, form, HIDDEN, HIDDEN_BUT_PRINTABLE, img, MIN_FONT_SIZE, pdfAConformanceLevel, rotation, square, star, text, TYPE_CHECK, TYPE_CIRCLE, TYPE_CROSS, TYPE_DIAMOND, TYPE_SQUARE, TYPE_STAR, typeChars, VISIBLE, VISIBLE_BUT_DOES_NOT_PRINT, X_OFFSET| 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.
|
PdfSigFieldLockDictionary |
getSigFieldLockDictionary()
Gets the PdfSigFieldLockDictionary, which contains fields that must be locked if the document is signed.
|
PdfSignatureFormField |
setValue(PdfObject value)
Adds the signature to the signature field.
|
addKid, addKid, createButton, createButton, createCheckBox, createCheckBox, createCheckBox, createChoice, createChoice, createChoice, createChoice, createChoice, createComboBox, createComboBox, createEmptyField, createList, createList, createMultilineText, createMultilineText, createMultilineText, createPushButton, createPushButton, createPushButton, createRadioButton, createRadioButton, createRadioGroup, createSignature, createSignature, createText, createText, createText, createText, createText, createText, createText, createText, drawBorder, drawButton, drawButton, drawCheckAppearance, drawCheckBox, drawCheckBox, drawMultiLineTextAppearance, drawMultiLineTextAppearance, drawPdfA1CheckAppearance, drawPdfA1RadioAppearance, drawPdfA2CheckAppearance, drawPdfACheckBox, drawPushButtonAppearance, drawPushButtonAppearance, drawRadioAppearance, drawRadioBorder, drawRadioField, drawTextAppearance, drawTextAppearance, generateDefaultAppearanceString, generateDefaultAppearanceString, getAdditionalAction, getAlternativeName, getAppearanceStates, getBorderWidth, getDefaultAppearance, getDefaultStyle, getDefaultValue, getDocument, getFieldFlag, getFieldFlags, getFieldName, getFont, getFontAndSize, getJustification, getKids, getMappingName, getOptions, getParent, getRect, getRichText, getValue, getValueAsString, getWidgets, isMultiline, isNoExport, isPassword, isReadOnly, isRequired, isWrappedObjectMustBeIndirect, makeFieldFlag, makeFormField, processOptions, processOptions, put, regenerateField, release, setAction, setAdditionalAction, setAlternativeName, setAppearance, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setCheckType, setColor, setDefaultAppearance, setDefaultStyle, setDefaultValue, setFieldFlag, setFieldFlag, setFieldFlags, setFieldName, setFont, setFontAndSize, setFontSize, setFontSize, setFontSizeAutoScale, setJustification, setMappingName, setNoExport, setOptions, setPage, setParent, setReadOnly, setRequired, setRichText, setRotation, setValue, setValue, setValue, setValue, setValue, setVisibility, splitDAelementsensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, 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 PdfFormField
PdfName
public PdfSignatureFormField setValue(PdfObject value)
value - the signature to be contained in the signature field, or an indirect reference to it
public PdfSigFieldLockDictionary getSigFieldLockDictionary()
PdfSigFieldLockDictionary, which contains fields that must be locked if the document is signed.
PdfSigFieldLockDictionary
Copyright © 1998–2017 iText Group NV. All rights reserved.