SignatureCustomAppearance

SignatureCustomAppearance

Overview

SignatureCustomAppearance is a class in Aspose.Pdf FOSS for Java.

Customizes the visual appearance of a digital signature field in a PDF document.

Properties

NameTypeAccessDescription
contactInfoLabelStringReadReturns the label text displayed before the contact info.
reasonLabelStringReadReturns the label text displayed before the signing reason.
locationLabelStringReadReturns the label text displayed before the signing location.
dateSignedLabelStringReadReturns the label text displayed before the signing date.
showContactInfobooleanReadReturns whether the contact info line is shown in the signature appearance.
showReasonbooleanReadReturns whether the reason line is shown in the signature appearance.
showLocationbooleanReadReturns whether the location line is shown in the signature appearance.
dateTimeFormatStringReadReturns the date/time format pattern used to display the signing date.
foregroundColorColorReadReturns the foreground color used for text in the signature appearance.
fontFamilyNameStringReadReturns the font family name used in the signature appearance.
fontSizedoubleReadReturns the font size used in the signature appearance.

Methods

SignatureDescription
SignatureCustomAppearance()Creates a new SignatureCustomAppearance with default settings.
getContactInfoLabel()StringReturns the label text displayed before the contact info.
setContactInfoLabel(contactInfoLabel: String)Sets the label text displayed before the contact info.
getReasonLabel()StringReturns the label text displayed before the signing reason.
setReasonLabel(reasonLabel: String)Sets the label text displayed before the signing reason.
getLocationLabel()StringReturns the label text displayed before the signing location.
setLocationLabel(locationLabel: String)Sets the label text displayed before the signing location.
getDateSignedLabel()StringReturns the label text displayed before the signing date.
setDateSignedLabel(dateSignedLabel: String)Sets the label text displayed before the signing date.
isShowContactInfo()booleanReturns whether the contact info line is shown in the signature appearance.
setShowContactInfo(showContactInfo: boolean)Sets whether the contact info line is shown in the signature appearance.
isShowReason()booleanReturns whether the reason line is shown in the signature appearance.
setShowReason(showReason: boolean)Sets whether the reason line is shown in the signature appearance.
isShowLocation()booleanReturns whether the location line is shown in the signature appearance.
setShowLocation(showLocation: boolean)Sets whether the location line is shown in the signature appearance.
getDateTimeFormat()StringReturns the date/time format pattern used to display the signing date.
setDateTimeFormat(dateTimeFormat: String)Sets the date/time format pattern used to display the signing date.
getForegroundColor()ColorReturns the foreground color used for text in the signature appearance.
setForegroundColor(foregroundColor: Color)Sets the foreground color used for text in the signature appearance.
getFontFamilyName()StringReturns the font family name used in the signature appearance.
setFontFamilyName(fontFamilyName: String)Sets the font family name used in the signature appearance.
getFontSize()doubleReturns the font size used in the signature appearance.
setFontSize(fontSize: double)Sets the font size used in the signature appearance.

See Also