SignatureCustomAppearance

Inheritance: java.lang.Object

public final class SignatureCustomAppearance

An abstract class which represents signature custon appearance object.

Constructors

ConstructorDescription
SignatureCustomAppearance()Inititalizes new instance of the SignatureCustomAppearance class.

Methods

MethodDescription
getFontFamilyName()Gets/sets font family name.
setFontFamilyName(String value)Gets/sets font family name.
getFontSize()Gets/sets font size.
getForegroundColor()Gets/sets foreground color (color of text).
setForegroundColor(Color value)Gets/sets foreground color (color of text).
getBackgroundColor()Gets/sets background color.
setBackgroundColor(Color value)Gets/sets background color.
setFontSize(double value)Gets/sets font size.
isShowContactInfo()Gets/sets contact info visibility.
setShowContactInfo(boolean value)Gets/sets contact info visibility.
isShowReason()Gets/sets reason visibility.
setShowReason(boolean value)Gets/sets reason visibility.
isShowLocation()Gets/sets location visibility.
setShowLocation(boolean value)Gets/sets location visibility.
getContactInfoLabel()Gets/sets contact info label.
setContactInfoLabel(String value)Gets/sets contact info label.
getReasonLabel()Gets/sets reason label.
setReasonLabel(String value)Gets/sets reason label.
getLocationLabel()Gets/sets location label.
setLocationLabel(String value)Gets/sets location label.
getDigitalSignedLabel()Gets/sets digital signed label.
setDigitalSignedLabel(String value)Gets/sets digital signed label.
isUseDigitalSubjectFormat()Gets/sets the usage state of the DigitalSubjectFormat (#getDigitalSubjectFormat#getDigitalSubjectFormat/#setDigitalSubjectFormat(int[])#setDigitalSubjectFormat(int[])).
setUseDigitalSubjectFormat(boolean value)Gets/sets the usage state of the DigitalSubjectFormat (#getDigitalSubjectFormat#getDigitalSubjectFormat/#setDigitalSubjectFormat(int[])#setDigitalSubjectFormat(int[])).
getDigitalSubjectFormat()Gets/sets format for order of elements in Subject string.
setDigitalSubjectFormat(int[] value)Gets/sets format for order of elements in Subject string.
getDateSignedAtLabel()Gets/sets date signed label.
setDateSignedAtLabel(String value)Gets/sets date signed label.
getDateTimeLocalFormat()Gets/sets datetime local format.
setDateTimeLocalFormat(String value)Gets/sets datetime local format.
getDateTimeFormat()Gets/sets datetime format.
setDateTimeFormat(String value)Gets/sets datetime format.
getCulture()Gets/sets culture info value.
setCulture(Locale value)Gets/sets culture info value.
getRotation()Gets or sets signature rotation.
setRotation(int value)Gets or sets signature rotation.

SignatureCustomAppearance()

public SignatureCustomAppearance()

Inititalizes new instance of the SignatureCustomAppearance class.

getFontFamilyName()

public final String getFontFamilyName()

Gets/sets font family name. It should be existed in the document. Default value: Arial.

Returns: java.lang.String - String value

setFontFamilyName(String value)

public final void setFontFamilyName(String value)

Gets/sets font family name. It should be existed in the document. Default value: Arial.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getFontSize()

public final double getFontSize()

Gets/sets font size. Default value: 10.

Returns: double - double value

getForegroundColor()

public final Color getForegroundColor()

Gets/sets foreground color (color of text). Default value: Blue.

Returns: Color - com.aspose.pdf.Color instance

setForegroundColor(Color value)

public final void setForegroundColor(Color value)

Gets/sets foreground color (color of text). Default value: Blue.

Parameters:

ParameterTypeDescription
valueColorcom.aspose.pdf.Color instance

getBackgroundColor()

public final Color getBackgroundColor()

Gets/sets background color. Default value: Transparent.

Returns: Color - com.aspose.pdf.Color instance

setBackgroundColor(Color value)

public final void setBackgroundColor(Color value)

Gets/sets background color. Default value: Transparent.

Parameters:

ParameterTypeDescription
valueColorcom.aspose.pdf.Color instance

setFontSize(double value)

public final void setFontSize(double value)

Gets/sets font size. Default value: 10.

Parameters:

ParameterTypeDescription
valuedoubledouble value

isShowContactInfo()

public final boolean isShowContactInfo()

Gets/sets contact info visibility. Default value: true.

Returns: boolean - boolean value

setShowContactInfo(boolean value)

public final void setShowContactInfo(boolean value)

Gets/sets contact info visibility. Default value: true.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

isShowReason()

public final boolean isShowReason()

Gets/sets reason visibility. Default value: true.

Returns: boolean - boolean value

setShowReason(boolean value)

public final void setShowReason(boolean value)

Gets/sets reason visibility. Default value: true.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

isShowLocation()

public final boolean isShowLocation()

Gets/sets location visibility. Default value: true.

Returns: boolean - boolean value

setShowLocation(boolean value)

public final void setShowLocation(boolean value)

Gets/sets location visibility. Default value: true.

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getContactInfoLabel()

public final String getContactInfoLabel()

Gets/sets contact info label. Default value: “Contact”.

Returns: java.lang.String - String value

setContactInfoLabel(String value)

public final void setContactInfoLabel(String value)

Gets/sets contact info label. Default value: “Contact”.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getReasonLabel()

public final String getReasonLabel()

Gets/sets reason label. Default value: “Reason”.

Returns: java.lang.String - String value

setReasonLabel(String value)

public final void setReasonLabel(String value)

Gets/sets reason label. Default value: “Reason”.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getLocationLabel()

public final String getLocationLabel()

Gets/sets location label. Default value: “Location”.

Returns: java.lang.String - String value

setLocationLabel(String value)

public final void setLocationLabel(String value)

Gets/sets location label. Default value: “Location”.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getDigitalSignedLabel()

public final String getDigitalSignedLabel()

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

Returns: java.lang.String - String value

setDigitalSignedLabel(String value)

public final void setDigitalSignedLabel(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

isUseDigitalSubjectFormat()

public final boolean isUseDigitalSubjectFormat()

Gets/sets the usage state of the DigitalSubjectFormat (#getDigitalSubjectFormat#getDigitalSubjectFormat/#setDigitalSubjectFormat(int[])#setDigitalSubjectFormat(int[])).

Returns: boolean - boolean value

setUseDigitalSubjectFormat(boolean value)

public final void setUseDigitalSubjectFormat(boolean value)

Gets/sets the usage state of the DigitalSubjectFormat (#getDigitalSubjectFormat#getDigitalSubjectFormat/#setDigitalSubjectFormat(int[])#setDigitalSubjectFormat(int[])).

Parameters:

ParameterTypeDescription
valuebooleanboolean value

getDigitalSubjectFormat()

public final int[] getDigitalSubjectFormat()

Gets/sets format for order of elements in Subject string. Result examples: C=UK, CN=Org, O=Organization or CN=Org, C=UK, O=Organization or O=Organization

Returns: int[] - array of int

setDigitalSubjectFormat(int[] value)

public final void setDigitalSubjectFormat(int[] value)

Gets/sets format for order of elements in Subject string. Result examples: C=UK, CN=Org, O=Organization or CN=Org, C=UK, O=Organization or O=Organization

Parameters:

ParameterTypeDescription
valueint[]array of int

getDateSignedAtLabel()

public final String getDateSignedAtLabel()

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

Returns: java.lang.String - String value

setDateSignedAtLabel(String value)

public final void setDateSignedAtLabel(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getDateTimeLocalFormat()

public final String getDateTimeLocalFormat()

Gets/sets datetime local format. Default value: “yyyy.MM.dd HH:mm:ss zzz”.

Returns: java.lang.String - String value

setDateTimeLocalFormat(String value)

public final void setDateTimeLocalFormat(String value)

Gets/sets datetime local format. Default value: “yyyy.MM.dd HH:mm:ss zzz”.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getDateTimeFormat()

public final String getDateTimeFormat()

Gets/sets datetime format. Default value: “yyyy.MM.dd HH:mm:ss”.

Returns: java.lang.String - String value

setDateTimeFormat(String value)

public final void setDateTimeFormat(String value)

Gets/sets datetime format. Default value: “yyyy.MM.dd HH:mm:ss”.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

getCulture()

public final Locale getCulture()

Gets/sets culture info value. Default value: InvariantCulture.

Returns: java.util.Locale - Locale value

setCulture(Locale value)

public final void setCulture(Locale value)

Gets/sets culture info value. Default value: InvariantCulture.

Parameters:

ParameterTypeDescription
valuejava.util.LocaleLocale value

getRotation()

public final int getRotation()

Gets or sets signature rotation.

Returns: int - Rotation element

setRotation(int value)

public final void setRotation(int value)

Gets or sets signature rotation.

Parameters:

ParameterTypeDescription
valueintRotation element