Namespace: PdfSharp.Drawing
Specifies details about how the font is used in PDF creation.
public class XPdfFontOptions
Inheritance Object → XPdfFontOptions
Gets a value indicating the font embedding.
public PdfFontEmbedding FontEmbedding { get; }
Gets a value indicating how the font is encoded.
public PdfFontEncoding FontEncoding { get; }
Gets the default options with WinAnsi encoding and always font embedding.
public static XPdfFontOptions WinAnsiDefault { get; }
Gets the default options with Unicode encoding and always font embedding.
public static XPdfFontOptions UnicodeDefault { get; }
Initializes a new instance of the XPdfFontOptions class.
public XPdfFontOptions(PdfFontEncoding encoding, PdfFontEmbedding embedding)
encoding
PdfFontEncoding
embedding
PdfFontEmbedding
Initializes a new instance of the XPdfFontOptions class.
public XPdfFontOptions(PdfFontEncoding encoding)
encoding
PdfFontEncoding
Initializes a new instance of the XPdfFontOptions class.
public XPdfFontOptions(PdfFontEmbedding embedding)
embedding
PdfFontEmbedding