Table of Contents

Class PdfSigningOptions.FieldAppearance

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

What a visible signature field shows: text lines rendered in standard Helvetica inside the widget rectangle, embedded in the signed revision so the visual is covered by the signature itself.

public sealed class PdfSigningOptions.FieldAppearance
Inheritance
PdfSigningOptions.FieldAppearance
Inherited Members

Properties

FontFile

A TrueType/OpenType font program to embed for the appearance text. null renders in standard Helvetica, which carries the WinAnsi repertoire only (Western-European scripts); characters beyond it degrade to ?. Supply a font for Cyrillic, Greek, CJK, or any other script. Complex shaping (Arabic joining, Indic conjuncts) is not performed; those scripts render glyph by glyph.

FontSize

Text size in points, or 0 (the default) to auto-fit the rectangle.

Image

A drawn mark (a handwritten signature stroke, a stamp) rendered inside the field: it aspect-fits the left slot beside the text, or the whole rectangle when Lines resolves to no text. Transparency is honored. null for a text-only appearance.

ImageBgra

The raw form of Image for hosts that already hold pixels (a browser canvas, a capture buffer): top-down BGRA, stride = width * 4. Used when Image is null; prefer Image when an ImageBuffer is at hand.

ImageHeight

Pixel height of ImageBgra.

ImageWidth

Pixel width of ImageBgra.

Layout

Where the drawn mark sits relative to the lines. Default: Beside. Without a mark, or without lines, the layout makes no difference.

Lines

The text, one entry per line. Empty composes the automatic lines (who signed, when, why) while still honoring the other appearance settings; use None for a field that renders nothing.

None

A visible field that renders nothing (an empty rectangle).

TextColor

Text color as 0xRRGGBB. Default: near-black.

Share