Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfVisibleSignatureAppearanceOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Visible signature widget and dependency-free appearance-stream settings.

Inheritance

  • object
  • PdfVisibleSignatureAppearanceOptions

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public PdfVisibleSignatureAppearanceOptions() #

Properties

public int PageNumber { get; set; } #

One-based page number that receives the signature widget.

public double X { get; set; } #

Left edge in page user-space units.

public double Y { get; set; } #

Bottom edge in page user-space units.

public double Width { get; set; } #

Widget width in page user-space units.

public double Height { get; set; } #

Widget height in page user-space units.

public string? Text { get; set; } #

Appearance text. Defaults to the signature field name when omitted.

public bool ShowText { get; set; } #

Whether the appearance text is drawn. Defaults to true for compatibility.

public PdfEmbeddedFont? Font { get; set; } #

Embedded TrueType font required when ShowText is true. Text appearances never use an unembedded fallback font.

public double FontSize { get; set; } #

Appearance font size in page user-space units.

public OfficeColor BackgroundColor { get; set; } #

Appearance background color.

public bool ShowBackground { get; set; } #

Whether the background rectangle is filled. Defaults to true for compatibility.

public OfficeColor BorderColor { get; set; } #

Appearance border color.

public bool ShowBorder { get; set; } #

Whether the border rectangle is stroked. Defaults to true for compatibility.

public OfficeColor TextColor { get; set; } #

Appearance text color.

public byte[]? ImageBytes { get; set; } #

Optional raster image drawn behind the appearance text. The supplied bytes are defensively copied and accept the same managed raster formats as PdfDocument.TryValidateImageBytes.

public long MaximumEncodedImageBytes { get; set; } #

Maximum encoded appearance image bytes, 128 MiB by default.

public OfficeImageFit ImageFit { get; set; } #

How the image is fitted into the padded signature rectangle.

public double ImagePadding { get; set; } #

Padding between the image and the signature rectangle edges, in page user-space units.