iText 7 7.2.5 API
|
Provides convenient methods to make a signature appearance. More...
Public Types |
|
enum | RenderingMode { RenderingMode.DESCRIPTION, RenderingMode.NAME_AND_DESCRIPTION, RenderingMode.GRAPHIC_AND_DESCRIPTION, RenderingMode.GRAPHIC } |
Signature rendering modes. More... |
|
Public Member Functions |
|
virtual int | GetPageNumber () |
Provides the page number of the signature field which this signature appearance is associated with. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetPageNumber (int pageNumber) |
Sets the page number of the signature field which this signature appearance is associated with. More... |
|
virtual Rectangle | GetPageRect () |
Provides the rectangle that represent the position and dimension of the signature field in the page. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetPageRect (Rectangle pageRect) |
Sets the rectangle that represent the position and dimension of the signature field in the page. More... |
|
virtual PdfFormXObject | GetLayer0 () |
Get Layer 0 of the appearance. More... |
|
virtual PdfFormXObject | GetLayer2 () |
Get Layer 2 of the appearance. More... |
|
virtual PdfSignatureAppearance.RenderingMode | GetRenderingMode () |
Gets the rendering mode for this signature. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetRenderingMode (PdfSignatureAppearance.RenderingMode renderingMode) |
Sets the rendering mode for this signature. More... |
|
virtual String | GetReason () |
Returns the signing reason. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetReason (String reason) |
Sets the signing reason. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetReasonCaption (String reasonCaption) |
Sets the caption for the signing reason. More... |
|
virtual String | GetLocation () |
Returns the signing location. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLocation (String location) |
Sets the signing location. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLocationCaption (String locationCaption) |
Sets the caption for the signing location. More... |
|
virtual String | GetSignatureCreator () |
Returns the signature creator. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetSignatureCreator (String signatureCreator) |
Sets the name of the application used to create the signature. More... |
|
virtual String | GetContact () |
Returns the signing contact. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetContact (String contact) |
Sets the signing contact. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetCertificate (X509Certificate signCertificate) |
Sets the certificate used to provide the text in the appearance. More... |
|
virtual X509Certificate | GetCertificate () |
Get the signing certificate. More... |
|
virtual ImageData | GetSignatureGraphic () |
Gets the Image object to render. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetSignatureGraphic (ImageData signatureGraphic) |
Sets the Image object to render when Render is set to RenderingMode.GRAPHIC or RenderingMode.GRAPHIC_AND_DESCRIPTION. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetReuseAppearance (bool reuseAppearance) |
Indicates that the existing appearances needs to be reused as layer 0. More... |
|
virtual ImageData | GetImage () |
Gets the background image for the layer 2. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetImage (ImageData image) |
Sets the background image for the layer 2. More... |
|
virtual float | GetImageScale () |
Gets the scaling to be applied to the background image. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetImageScale (float imageScale) |
Sets the scaling to be applied to the background image. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLayer2Text (String text) |
Sets the signature text identifying the signer. More... |
|
virtual String | GetLayer2Text () |
Gets the signature text identifying the signer if set by setLayer2Text(). More... |
|
virtual PdfFont | GetLayer2Font () |
Gets the n2 and n4 layer font. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLayer2Font (PdfFont layer2Font) |
Sets the n2 and n4 layer font. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLayer2FontSize (float fontSize) |
Sets the n2 and n4 layer font size. More... |
|
virtual float | GetLayer2FontSize () |
Gets the n2 and n4 layer font size. More... |
|
virtual iText.Signatures.PdfSignatureAppearance | SetLayer2FontColor (Color color) |
Sets the n2 and n4 layer font color. More... |
|
virtual Color | GetLayer2FontColor () |
Gets the n2 and n4 layer font color. More... |
|
virtual bool | IsInvisible () |
Gets the visibility status of the signature. More... |
|
Provides convenient methods to make a signature appearance.
Provides convenient methods to make a signature appearance. Use it in conjunction with PdfSigner.
Signature rendering modes.
|
inlinevirtual |
Get the signing certificate.
|
inlinevirtual |
Returns the signing contact.
|
inlinevirtual |
Gets the background image for the layer 2.
|
inlinevirtual |
Gets the scaling to be applied to the background image.
|
inlinevirtual |
Get Layer 0 of the appearance.
Get Layer 0 of the appearance.
The size of the layer is determined by the rectangle set via SetPageRect(iText.Kernel.Geom.Rectangle)
|
inlinevirtual |
Get Layer 2 of the appearance.
Get Layer 2 of the appearance.
The size of the layer is determined by the rectangle set via SetPageRect(iText.Kernel.Geom.Rectangle)
|
inlinevirtual |
Gets the n2 and n4 layer font.
|
inlinevirtual |
Gets the n2 and n4 layer font color.
|
inlinevirtual |
Gets the n2 and n4 layer font size.
|
inlinevirtual |
Gets the signature text identifying the signer if set by setLayer2Text().
|
inlinevirtual |
Returns the signing location.
|
inlinevirtual |
Provides the page number of the signature field which this signature appearance is associated with.
|
inlinevirtual |
Provides the rectangle that represent the position and dimension of the signature field in the page.
|
inlinevirtual |
Returns the signing reason.
|
inlinevirtual |
Gets the rendering mode for this signature.
|
inlinevirtual |
Returns the signature creator.
|
inlinevirtual |
Gets the Image object to render.
|
inlinevirtual |
Gets the visibility status of the signature.
|
inlinevirtual |
Sets the certificate used to provide the text in the appearance.
Sets the certificate used to provide the text in the appearance. This certificate doesn't take part in the actual signing process.
signCertificate | the certificate |
|
inlinevirtual |
Sets the signing contact.
contact | A new signing contact |
|
inlinevirtual |
Sets the background image for the layer 2.
image | the background image for the layer 2 |
|
inlinevirtual |
Sets the scaling to be applied to the background image.
Sets the scaling to be applied to the background image. If it's zero the image will fully fill the rectangle. If it's less than zero the image will fill the rectangle but will keep the proportions. If it's greater than zero that scaling will be applied. In any of the cases the image will always be centered. It's zero by default.
imageScale | the scaling to be applied to the background image |
|
inlinevirtual |
Sets the n2 and n4 layer font.
Sets the n2 and n4 layer font. If the font size is zero, auto-fit will be used.
layer2Font | the n2 and n4 font |
|
inlinevirtual |
Sets the n2 and n4 layer font color.
color | font color |
|
inlinevirtual |
Sets the n2 and n4 layer font size.
fontSize | font size |
|
inlinevirtual |
Sets the signature text identifying the signer.
text | the signature text identifying the signer. If null or not set a standard description will be used |
|
inlinevirtual |
Sets the signing location.
location | A new signing location |
|
inlinevirtual |
Sets the caption for the signing location.
locationCaption | A new signing location caption |
|
inlinevirtual |
Sets the page number of the signature field which this signature appearance is associated with.
Sets the page number of the signature field which this signature appearance is associated with. Implicitly calls SetPageRect(iText.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. |
|
inlinevirtual |
Sets the rectangle that represent the position and dimension of the signature field in the page.
pageRect | The rectangle that represents the position and dimension of the signature field in the page. |
|
inlinevirtual |
Sets the signing reason.
reason | signing reason. |
|
inlinevirtual |
Sets the caption for the signing reason.
reasonCaption | A new signing reason caption |
|
inlinevirtual |
Sets the rendering mode for this signature.
renderingMode | the rendering mode |
|
inlinevirtual |
Indicates that the existing appearances needs to be reused as layer 0.
reuseAppearance | is an appearances reusing flag value to set |
|
inlinevirtual |
Sets the name of the application used to create the signature.
signatureCreator | A new name of the application signing a document |
|
inlinevirtual |
Sets the Image object to render when Render is set to RenderingMode.GRAPHIC or RenderingMode.GRAPHIC_AND_DESCRIPTION.
signatureGraphic | image rendered. If null the mode is defaulted to RenderingMode.DESCRIPTION |