.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfStringFormat Properties

Contains settings to format strings in a document.

Name Description
Alignment

Gets or sets the horizontal alignment of the string.

FormatFlags

Gets or sets a PdfStringFormatFlags enumeration that contains format information.

GenericDefault static

Gets a generic default PdfStringFormat object.

GenericTypographic static

Gets a generic typographic PdfStringFormat object.

HotkeyPrefix

Gets or sets the PdfHotkeyPrefix object for this PdfStringFormat object.

LeadingMarginFactor

Gets or sets a value that is the fraction of the font em-size used as both horizontal and vertical leading string margins.

LineAlignment

Specifies the vertical alignment of the string.

TrailingMarginFactor

Gets or sets a value that is the fraction of the font em-size used as the horizontal trailing string margin.

Trimming

Gets or sets the PdfStringTrimming enumeration for this PdfStringFormat object.

See Also