Click or drag to resize

PdfTextFormattingMode Enumeration

Defines the formatting methods supported by the PdfFormattedText class.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public enum PdfTextFormattingMode
Members
Member nameValueDescription
Default0 Indicates that the PdfFormattedText lays out text by using default primitive implementation.
WPF1 Indicates that the PdfFormattedText lays out text by using Windows Presentation Foundation (WPF) implementation and ideal font metrics.
WPFDisplay2 Indicates that the PdfFormattedText lays out text by using Windows Presentation Foundation (WPF) implementation and GDI-compatible font metrics.
HarfBuzz3

Indicates that the PdfFormattedText lays out text by using HarfBuzz text-shaping engine.

Note  Note
Make sure your project references also HarfBuzzSharp.NativeAssets.Linux NuGet package if you are building/running your application on Linux operating system.
See Also