PdfDigitalSignatureAppearance
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.options.appearances.SignatureAppearance
public final class PdfDigitalSignatureAppearance extends SignatureAppearance
Describes appearance of Digital Signature are on PDF documents.
Learn more
- See more simple examples on creating digital electronic signatures with GroupDocs.Signature: Advanced signing document with Digital electronic signatures
- See more advanced examples of settings of various electronic signature with GroupDocs.Signature: Advanced electronic signatures properties
| Constructor | Description |
|---|---|
| PdfDigitalSignatureAppearance() | Creates signature appearance object with default values. |
| Method | Description |
|---|---|
| getContactInfoLabel() | Gets or sets contact info label. |
| setContactInfoLabel(String value) | Gets or sets contact info label. |
| getReasonLabel() | Gets or sets reason label. |
| setReasonLabel(String value) | Gets or sets reason label. |
| getLocationLabel() | Gets or sets location label. |
| setLocationLabel(String value) | Gets or sets location label. |
| getDigitalSignedLabel() | Gets or sets digital signed label. |
| setDigitalSignedLabel(String value) | Gets or sets digital signed label. |
| getDateSignedAtLabel() | Gets or sets date signed label. |
| setDateSignedAtLabel(String value) | Gets or sets date signed label. |
| getBackground() | Get or set background color of signature appearance. |
| setBackground(Color value) | Get or set background color of signature appearance. |
| setBackground(String value) | Get or set background color of signature appearance. |
| getFontFamilyName() | Gets or sets the Font family name to display the labels. |
| setFontFamilyName(String value) | Gets or sets the Font family name to display the labels. |
| getFontSize() | Gets or sets the Font size to display the labels. |
| setFontSize(double value) | Gets or sets the Font size to display the labels. |
| getForeground() | Get or set foreground text color of signature appearance. |
| setForeground(Color value) | Get or set foreground text color of signature appearance. |
| setForeground(String value) | Get or set foreground text color of signature appearance. |
public PdfDigitalSignatureAppearance()
Creates signature appearance object with default values.
public final String getContactInfoLabel()
Gets or sets contact info label. Default value: “Contact”. if this value is empty then no contact label will appear on digital signature area.
Returns: java.lang.String
public final void setContactInfoLabel(String value)
Gets or sets contact info label. Default value: “Contact”. if this value is empty then no contact label will appear on digital signature area.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getReasonLabel()
Gets or sets reason label. Default value: “Reason”. if this value is empty then no reason label will appear on digital signature area.
Returns: java.lang.String
public final void setReasonLabel(String value)
Gets or sets reason label. Default value: “Reason”. if this value is empty then no reason label will appear on digital signature area.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getLocationLabel()
Gets or sets location label. Default value: “Location”. if this value is empty then no location label will appear on digital signature area.
Returns: java.lang.String
public final void setLocationLabel(String value)
Gets or sets location label. Default value: “Location”. if this value is empty then no location label will appear on digital signature area.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getDigitalSignedLabel()
Gets or sets digital signed label. Default value: “Digitally signed by”.
Returns: java.lang.String
public final void setDigitalSignedLabel(String value)
Gets or sets digital signed label. Default value: “Digitally signed by”.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getDateSignedAtLabel()
Gets or sets date signed label. Default value: “Date”.
Returns: java.lang.String
public final void setDateSignedAtLabel(String value)
Gets or sets date signed label. Default value: “Date”.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final Color getBackground()
Get or set background color of signature appearance. By default the value is SystemColors.Windows
Returns: java.awt.Color
public final void setBackground(Color value)
Get or set background color of signature appearance. By default the value is SystemColors.Windows
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.awt.Color |
public final void setBackground(String value)
Get or set background color of signature appearance. By default the value is SystemColors.Windows
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getFontFamilyName()
Gets or sets the Font family name to display the labels. Default value is “Arial”.
Returns: java.lang.String
public final void setFontFamilyName(String value)
Gets or sets the Font family name to display the labels. Default value is “Arial”.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final double getFontSize()
Gets or sets the Font size to display the labels. Default value is 10.
Returns: double
public final void setFontSize(double value)
Gets or sets the Font size to display the labels. Default value is 10.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
public final Color getForeground()
Get or set foreground text color of signature appearance. By default the value is Color.FromArgb(76, 100, 255)
Returns: java.awt.Color
public final void setForeground(Color value)
Get or set foreground text color of signature appearance. By default the value is Color.FromArgb(76, 100, 255)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.awt.Color |
public final void setForeground(String value)
Get or set foreground text color of signature appearance. By default the value is Color.FromArgb(76, 100, 255)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.