PdfDigitalSignatureAppearance

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

Constructors

Constructor Description
PdfDigitalSignatureAppearance() Creates signature appearance object with default values.

Methods

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.

PdfDigitalSignatureAppearance()

public PdfDigitalSignatureAppearance()

Creates signature appearance object with default values.

getContactInfoLabel()

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

setContactInfoLabel(String value)

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

getReasonLabel()

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

setReasonLabel(String value)

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

getLocationLabel()

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

setLocationLabel(String value)

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

getDigitalSignedLabel()

public final String getDigitalSignedLabel()

Gets or sets digital signed label. Default value: “Digitally signed by”.

Returns: java.lang.String

setDigitalSignedLabel(String value)

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

getDateSignedAtLabel()

public final String getDateSignedAtLabel()

Gets or sets date signed label. Default value: “Date”.

Returns: java.lang.String

setDateSignedAtLabel(String value)

public final void setDateSignedAtLabel(String value)

Gets or sets date signed label. Default value: “Date”.

Parameters:

Parameter Type Description
value java.lang.String

getBackground()

public final Color getBackground()

Get or set background color of signature appearance. By default the value is SystemColors.Windows

Returns: java.awt.Color

setBackground(Color value)

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

setBackground(String value)

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

getFontFamilyName()

public final String getFontFamilyName()

Gets or sets the Font family name to display the labels. Default value is “Arial”.

Returns: java.lang.String

setFontFamilyName(String value)

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

getFontSize()

public final double getFontSize()

Gets or sets the Font size to display the labels. Default value is 10.

Returns: double

setFontSize(double value)

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

getForeground()

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

setForeground(Color value)

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

setForeground(String value)

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