PDFsharp-net6

XPdfFontOptions

Namespace: PdfSharp.Drawing

Specifies details about how the font is used in PDF creation.

public class XPdfFontOptions

Inheritance ObjectXPdfFontOptions

Properties

FontEmbedding

Gets a value indicating the font embedding.

public PdfFontEmbedding FontEmbedding { get; }

Property Value

PdfFontEmbedding

FontEncoding

Gets a value indicating how the font is encoded.

public PdfFontEncoding FontEncoding { get; }

Property Value

PdfFontEncoding

WinAnsiDefault

Gets the default options with WinAnsi encoding and always font embedding.

public static XPdfFontOptions WinAnsiDefault { get; }

Property Value

XPdfFontOptions

UnicodeDefault

Gets the default options with Unicode encoding and always font embedding.

public static XPdfFontOptions UnicodeDefault { get; }

Property Value

XPdfFontOptions

Constructors

XPdfFontOptions(PdfFontEncoding, PdfFontEmbedding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEncoding encoding, PdfFontEmbedding embedding)

Parameters

encoding PdfFontEncoding

embedding PdfFontEmbedding

XPdfFontOptions(PdfFontEncoding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEncoding encoding)

Parameters

encoding PdfFontEncoding

XPdfFontOptions(PdfFontEmbedding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEmbedding embedding)

Parameters

embedding PdfFontEmbedding