public class SignatureFieldAppearance extends FormField<SignatureFieldAppearance>
FormField class representing a signature field in PDF.tagPropertieschildElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
SignatureFieldAppearance(String id)
Creates a new
SignatureFieldAppearance instance. |
| Modifier and Type | Method and Description |
|---|---|
AccessibilityProperties |
getAccessibilityProperties() |
List<IElement> |
getContentElements()
Gets the final content for this signature.
|
String |
getId()
Gets the id.
|
SignedAppearanceText |
getSignedAppearanceText()
Gets the
SignedAppearanceText instance for this signature. |
protected IRenderer |
makeNewRenderer() |
SignatureFieldAppearance |
setContent(Div data)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(com.itextpdf.io.image.ImageData image)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(SignedAppearanceText description)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(SignedAppearanceText description,
com.itextpdf.io.image.ImageData image)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(String description)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(String description,
com.itextpdf.io.image.ImageData image)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(String signerName,
SignedAppearanceText description)
Sets the content for this signature.
|
SignatureFieldAppearance |
setContent(String signerName,
String description)
Sets the content for this signature.
|
void |
setSignerName(String signerName)
Replaces the signer name for this signature if it was set by
setContent(com.itextpdf.forms.fields.properties.SignedAppearanceText). |
getDefaultProperty, setAlternativeDescription, setHeight, setInteractive, setSize, setValue, setWidthaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, getTransparentStrokeColor, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDashPattern, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeColor, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing, simulateBold, simulateItalicclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrencreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic SignatureFieldAppearance(String id)
SignatureFieldAppearance instance.id - signature field name if you use this SignatureFieldAppearance in pure layout for the new
interactive signature field creation. ID will be ignored if this SignatureFieldAppearance
is used for signing or for existing signature fieldpublic SignatureFieldAppearance setContent(SignedAppearanceText description)
description - SignedAppearanceText instance representing the signature text identifying the signer.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(String description)
description - the signature text identifying the signer.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(SignedAppearanceText description, com.itextpdf.io.image.ImageData image)
description - SignedAppearanceText instance representing the signature text identifying the signer.image - the Image object to render.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(String description, com.itextpdf.io.image.ImageData image)
description - the signature text identifying the signer.image - the Image object to render.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(com.itextpdf.io.image.ImageData image)
image - the Image object to render.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(String signerName, SignedAppearanceText description)
signerName - the name of the signer from the certificate.description - SignedAppearanceText instance representing the signature text identifying the signer.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(String signerName, String description)
signerName - the name of the signer from the certificate.description - the signature text identifying the signer.SignatureFieldAppearance instance.public SignatureFieldAppearance setContent(Div data)
data - the custom signature data which will be rendered.SignatureFieldAppearance instance.public List<IElement> getContentElements()
public SignedAppearanceText getSignedAppearanceText()
SignedAppearanceText instance for this signature.SignedAppearanceText instance if it was set by setContent(com.itextpdf.forms.fields.properties.SignedAppearanceText), null otherwise.public void setSignerName(String signerName)
setContent(com.itextpdf.forms.fields.properties.SignedAppearanceText).signerName - signer name to set.public String getId()
getId in interface IFormFieldgetId in class FormField<SignatureFieldAppearance>public AccessibilityProperties getAccessibilityProperties()
protected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<SignatureFieldAppearance>Copyright © 1998–2025 Apryse Group NV. All rights reserved.