com.spire.pdf.interactive.digitalsignatures
Class PdfSignatureAppearance

java.lang.Object
  extended by com.spire.pdf.interactive.digitalsignatures.PdfSignatureAppearance
All Implemented Interfaces:
IPdfSignatureAppearance

public class PdfSignatureAppearance
extends java.lang.Object
implements IPdfSignatureAppearance

Provide a custom signature appearance implemation


Constructor Summary
PdfSignatureAppearance(PdfSignature signature)
          Initialize a new instance.
 
Method Summary
 void generate(PdfCanvas g)
          Generate custom signature appearance by a graphics context.
 java.lang.String getContactInfoLabel()
          Get the label of signature's contactInfo.
 java.lang.String getDateLabel()
          Get the label of signature's date.
 GraphicMode getGraphicMode()
          Get the Grapphic render/display mode.
 java.lang.String getLocationLabel()
          Get the label of signature's location.
 java.lang.String getNameLabel()
          Get the label of The name of the person or authority signing the document.
 java.lang.String getReasonLabel()
          Get the label of signature's reason.
 PdfImage getSignatureImage()
          Get the signature image.
 SignImageLayout getSignImageLayout()
          Get the sign image layout.
 void setContactInfoLabel(java.lang.String value)
          Set the label of signature's contactInfo.
 void setDateLabel(java.lang.String value)
          Set the label of signature's date.
 void setGraphicMode(GraphicMode value)
          Set the Grapphic render/display mode.
 void setLocationLabel(java.lang.String value)
          Set the label of signature's location
 void setNameLabel(java.lang.String value)
          Set the label of The name of the person or authority signing the document.
 void setReasonLabel(java.lang.String value)
          Set the label of signature's reason
 void setSignatureImage(PdfImage value)
          Set the signature image.
 void setSignImageLayout(SignImageLayout value)
          Set the sign image layout.
 

Constructor Detail

PdfSignatureAppearance

public PdfSignatureAppearance(PdfSignature signature)
Initialize a new instance.

Parameters:
signature - The signature.
Method Detail

getNameLabel

public java.lang.String getNameLabel()
Get the label of The name of the person or authority signing the document.

Returns:
The name label.

setNameLabel

public void setNameLabel(java.lang.String value)
Set the label of The name of the person or authority signing the document.

Parameters:
value - The name label.

getReasonLabel

public java.lang.String getReasonLabel()
Get the label of signature's reason.

Returns:
The label.

setReasonLabel

public void setReasonLabel(java.lang.String value)
Set the label of signature's reason

Parameters:
value - the label

getLocationLabel

public java.lang.String getLocationLabel()
Get the label of signature's location.

Returns:
The label.

setLocationLabel

public void setLocationLabel(java.lang.String value)
Set the label of signature's location

Parameters:
value - The label

getContactInfoLabel

public java.lang.String getContactInfoLabel()
Get the label of signature's contactInfo.

Returns:
The label.

setContactInfoLabel

public void setContactInfoLabel(java.lang.String value)
Set the label of signature's contactInfo.

Parameters:
value - The label.

getDateLabel

public java.lang.String getDateLabel()
Get the label of signature's date.

Returns:
The label.

setDateLabel

public void setDateLabel(java.lang.String value)
Set the label of signature's date.

Parameters:
value - The label.

getSignatureImage

public PdfImage getSignatureImage()
Get the signature image.

Returns:
The signature image.

setSignatureImage

public void setSignatureImage(PdfImage value)
Set the signature image.

Parameters:
value - The signature image.

getGraphicMode

public GraphicMode getGraphicMode()
Get the Grapphic render/display mode.

Returns:
The mode.

setGraphicMode

public void setGraphicMode(GraphicMode value)
Set the Grapphic render/display mode.

Parameters:
value - The mode.

getSignImageLayout

public SignImageLayout getSignImageLayout()
Get the sign image layout.

Returns:
The sign image layout.

setSignImageLayout

public void setSignImageLayout(SignImageLayout value)
Set the sign image layout.

Parameters:
value - The sign image layout.

generate

public void generate(PdfCanvas g)
Generate custom signature appearance by a graphics context.

Specified by:
generate in interface IPdfSignatureAppearance
Parameters:
g - A graphics context of signature appearance.