Table of Contents

Class XPdfFontOptions

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

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

public class XPdfFontOptions
Inheritance
XPdfFontOptions
Inherited Members

Constructors

XPdfFontOptions(PdfFontEmbedding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEmbedding embedding)

Parameters

embedding PdfFontEmbedding

XPdfFontOptions(PdfFontEncoding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEncoding encoding)

Parameters

encoding PdfFontEncoding

XPdfFontOptions(PdfFontEncoding, PdfFontEmbedding)

Initializes a new instance of the XPdfFontOptions class.

public XPdfFontOptions(PdfFontEncoding encoding, PdfFontEmbedding embedding)

Parameters

encoding PdfFontEncoding
embedding PdfFontEmbedding

Properties

AutomaticEncoding

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

public static XPdfFontOptions AutomaticEncoding { get; }

Property Value

XPdfFontOptions

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

UnicodeDefault

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

public static XPdfFontOptions UnicodeDefault { get; }

Property Value

XPdfFontOptions

WinAnsiDefault

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

public static XPdfFontOptions WinAnsiDefault { get; }

Property Value

XPdfFontOptions