public class SignatureFieldAppearance extends FormField<SignatureFieldAppearance>
FormField class representing a signature field in PDF.childElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
SignatureFieldAppearance(String id)
Creates a new
SignatureFieldAppearance instance. |
| Modifier and Type | Method and Description |
|---|---|
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, setHeight, setInteractive, setSize, setValue, setWidthaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrencreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic SignatureFieldAppearance(String id)
SignatureFieldAppearance instance.id - the id.public 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>protected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<SignatureFieldAppearance>Copyright © 1998–2024 Apryse Group NV. All rights reserved.