SignatureCustomAppearance

SignatureCustomAppearance

Overview

SignatureCustomAppearance is a class in Aspose.PDF FOSS for .NET.

Visual-layout knobs for a signature’s appearance stream — font, size, padding and which signer metadata strings are rendered inside the widget annotation.

Properties: BackgroundColor, ContactInfoLabel, Culture, DateSignedAtLabel, DateTimeFormat, DateTimeLocalFormat, and 13 more.

Properties

NameTypeAccessDescription
BackgroundColorColor?Read/WriteBackground color of the appearance XObject.
ForegroundColorColor?Read/WriteForeground (text) color of the appearance XObject.
IsForegroundImageboolRead/WriteWhen true, the appearance image is composited as the foreground layer rather than the background.
RotationRotationRead/WriteRotation applied to the appearance XObject.
FontFamilyNamestringRead/WriteFont family used for text inside the appearance XObject.
FontSizedoubleRead/WriteFont size in points.
ShowContactInfoboolRead/WriteShow the contact-info line in the appearance.
ShowReasonboolRead/WriteShow the signing reason in the appearance.
ShowLocationboolRead/WriteShow the signing location in the appearance.
DigitalSignedLabelstringRead/WriteLabel for the digital-signature line.
DateSignedAtLabelstringRead/WriteLabel for the date-signed-at line.
ContactInfoLabelstringRead/WriteLabel for the contact-info line.
ReasonLabelstringRead/WriteLabel for the reason line.
LocationLabelstringRead/WriteLabel for the location line.
CultureSystem.Globalization.CultureInfo?Read/WriteCulture used when formatting the date string.
DateTimeFormatstringRead/WriteStandard date-time format string.
DateTimeLocalFormatstringRead/WriteLocale-aware date-time format string.
UseDigitalSubjectFormatboolRead/WriteWhen true, the signer DN is decomposed into the elements listed in DigitalSubjectFormat instead of being rendered as a single CN line.
DigitalSubjectFormatSubjectNameElements[]Read/WriteOrder in which subject-DN components appear in the appearance when UseDigitalSubjectFormat is true.

See Also