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
| Name | Type | Access | Description |
|---|---|---|---|
BackgroundColor | Color? | Read/Write | Background color of the appearance XObject. |
ForegroundColor | Color? | Read/Write | Foreground (text) color of the appearance XObject. |
IsForegroundImage | bool | Read/Write | When true, the appearance image is composited as the foreground layer rather than the background. |
Rotation | Rotation | Read/Write | Rotation applied to the appearance XObject. |
FontFamilyName | string | Read/Write | Font family used for text inside the appearance XObject. |
FontSize | double | Read/Write | Font size in points. |
ShowContactInfo | bool | Read/Write | Show the contact-info line in the appearance. |
ShowReason | bool | Read/Write | Show the signing reason in the appearance. |
ShowLocation | bool | Read/Write | Show the signing location in the appearance. |
DigitalSignedLabel | string | Read/Write | Label for the digital-signature line. |
DateSignedAtLabel | string | Read/Write | Label for the date-signed-at line. |
ContactInfoLabel | string | Read/Write | Label for the contact-info line. |
ReasonLabel | string | Read/Write | Label for the reason line. |
LocationLabel | string | Read/Write | Label for the location line. |
Culture | System.Globalization.CultureInfo? | Read/Write | Culture used when formatting the date string. |
DateTimeFormat | string | Read/Write | Standard date-time format string. |
DateTimeLocalFormat | string | Read/Write | Locale-aware date-time format string. |
UseDigitalSubjectFormat | bool | Read/Write | When true, the signer DN is decomposed into the elements listed in DigitalSubjectFormat instead of being rendered as a single CN line. |
DigitalSubjectFormat | SubjectNameElements[] | Read/Write | Order in which subject-DN components appear in the appearance when UseDigitalSubjectFormat is true. |