| Modifier and Type | Class and Description |
|---|---|
static class |
PdfSignatureAppearance.RenderingMode
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PdfSignatureAppearance(PdfDocument document,
Rectangle pageRect,
int pageNumber)
Creates a PdfSignatureAppearance.
|
protected PdfSignatureAppearance(PdfDocument document, Rectangle pageRect, int pageNumber)
document - PdfDocumentpageRect - Rectangle of the appearancepageNumber - Number of the page the appearance should be on@Deprecated public int getPageNumber()
PdfSigner.getPageNumber() instead.@Deprecated public PdfSignatureAppearance setPageNumber(int pageNumber)
PdfSigner.setPageNumber(int) instead.setPageRect(com.itextpdf.kernel.geom.Rectangle)
which considers page number to process the rectangle correctly.pageNumber - The page number of the signature field which
this signature appearance is associated with.@Deprecated public Rectangle getPageRect()
PdfSigner.getPageRect() instead.@Deprecated public PdfSignatureAppearance setPageRect(Rectangle pageRect)
PdfSigner.setPageRect(Rectangle) instead.pageRect - The rectangle that represents the position and
dimension of the signature field in the page.@Deprecated public PdfFormXObject getLayer0()
PdfSignatureFormField.setBackgroundLayer(PdfFormXObject). Note that it should be called
for the field retrieved with PdfSigner.getSignatureField() method.
The size of the layer is determined by the rectangle set via
setPageRect(Rectangle)
@Deprecated public PdfFormXObject getLayer2()
PdfSignatureFormField.setSignatureAppearanceLayer(PdfFormXObject). Note that it should be called
for the field retrieved with PdfSigner.getSignatureField() method.
The size of the layer is determined by the rectangle set via
setPageRect(Rectangle)
@Deprecated public PdfSignatureAppearance.RenderingMode getRenderingMode()
SignatureFieldAppearance, rendering mode will be detected depending on specified
setContent method parameters.@Deprecated public PdfSignatureAppearance setRenderingMode(PdfSignatureAppearance.RenderingMode renderingMode)
SignatureFieldAppearance, rendering mode will be detected depending on specified
setContent method parameters.renderingMode - the rendering mode.@Deprecated public String getReason()
PdfSigner.getReason() instead.@Deprecated public PdfSignatureAppearance setReason(String reason)
PdfSigner.setReason(java.lang.String) instead.reason - signing reason.@Deprecated public PdfSignatureAppearance setReasonCaption(String reasonCaption)
SignedAppearanceText that should be used for SignatureFieldAppearance.reasonCaption - A new signing reason caption.@Deprecated public String getLocation()
PdfSigner.getLocation() instead.@Deprecated public PdfSignatureAppearance setLocation(String location)
PdfSigner.setLocation(java.lang.String) instead.location - A new signing location.@Deprecated public PdfSignatureAppearance setLocationCaption(String locationCaption)
SignedAppearanceText that should be used for SignatureFieldAppearance.locationCaption - A new signing location caption.@Deprecated public String getSignatureCreator()
PdfSigner.getSignatureCreator() instead.@Deprecated public PdfSignatureAppearance setSignatureCreator(String signatureCreator)
PdfSigner.setSignatureCreator(String) instead.signatureCreator - A new name of the application signing a document.@Deprecated public String getContact()
PdfSigner.getContact() instead.@Deprecated public PdfSignatureAppearance setContact(String contact)
PdfSigner.setContact(String) instead.contact - A new signing contact.@Deprecated public PdfSignatureAppearance setCertificate(Certificate signCertificate)
SignedAppearanceText that should be used for SignatureFieldAppearance.
Specified certificate provides signer name.signCertificate - the certificate.@Deprecated public Certificate getCertificate()
SignedAppearanceText that should be used for SignatureFieldAppearance.@Deprecated public com.itextpdf.io.image.ImageData getSignatureGraphic()
SignatureFieldAppearance.@Deprecated public PdfSignatureAppearance setSignatureGraphic(com.itextpdf.io.image.ImageData signatureGraphic)
SignatureFieldAppearance.setContent(ImageData) or
SignatureFieldAppearance.setContent(String, ImageData).signatureGraphic - image rendered. If null the mode is defaulted to RenderingMode.DESCRIPTION@Deprecated public PdfSignatureAppearance setReuseAppearance(boolean reuseAppearance)
PdfSignatureFormField.setReuseAppearance(boolean). Note that it should be called
for the field retrieved with PdfSigner.getSignatureField() method.reuseAppearance - is an appearances reusing flag value to set.@Deprecated public com.itextpdf.io.image.ImageData getImage()
ElementPropertyContainer.setBackgroundImage(BackgroundImage).@Deprecated public PdfSignatureAppearance setImage(com.itextpdf.io.image.ImageData image)
ElementPropertyContainer.setBackgroundImage(BackgroundImage).image - the background image for the layer 2.@Deprecated public float getImageScale()
ElementPropertyContainer.setBackgroundImage(BackgroundImage).@Deprecated public PdfSignatureAppearance setImageScale(float imageScale)
ElementPropertyContainer.setBackgroundImage(BackgroundImage).imageScale - the scaling to be applied to the background image.@Deprecated public PdfSignatureAppearance setLayer2Text(String text)
SignatureFieldAppearance.text - the signature text identifying the signer. If null or not set
a standard description will be used.@Deprecated public String getLayer2Text()
SignatureFieldAppearance.@Deprecated public PdfFont getLayer2Font()
SignatureFieldAppearance.@Deprecated public PdfSignatureAppearance setLayer2Font(PdfFont font)
ElementPropertyContainer.setFont(PdfFont).font - the n2 font.@Deprecated public PdfSignatureAppearance setLayer2FontSize(float fontSize)
ElementPropertyContainer.setFontSize(float).fontSize - font size.@Deprecated public float getLayer2FontSize()
SignatureFieldAppearance.@Deprecated public PdfSignatureAppearance setLayer2FontColor(Color color)
ElementPropertyContainer.setFontColor(Color).color - font color.@Deprecated public Color getLayer2FontColor()
SignatureFieldAppearance.public SignatureFieldAppearance getSignatureAppearance()
@Deprecated public PdfSignatureAppearance setSignatureAppearance(SignatureFieldAppearance modelElement)
PdfSigner.setSignatureAppearance(SignatureFieldAppearance) instead.modelElement - the signature layout element.@Deprecated public PdfSignatureAppearance setFontProvider(FontProvider fontProvider)
ElementPropertyContainer.setProperty(int, Object).FontProvider. Note, font provider is inherited property.fontProvider - the instance of FontProvider.@Deprecated public PdfSignatureAppearance setFontFamily(String... fontFamilyNames)
ElementPropertyContainer.setFontFamily(String...).FontProvider shall be set as well.fontFamilyNames - defines an ordered list of preferable font families for the signature element.@Deprecated public boolean isInvisible()
@Deprecated protected PdfFormXObject getAppearance() throws com.itextpdf.io.exceptions.IOException
SignatureFieldAppearance. Shouldn't be used.com.itextpdf.io.exceptions.IOException - if font cannot be created.@Deprecated protected Calendar getSignDate()
PdfSigner.getSignDate() instead.@Deprecated protected PdfSignatureAppearance setSignDate(Calendar signDate)
PdfSigner.setSignDate(Calendar) instead.signDate - A new signature date.protected PdfSignatureAppearance setFieldName(String fieldName)
fieldName - name of the fieldCopyright © 1998–2024 Apryse Group NV. All rights reserved.