PdfSharp-GDI  1.31.7289
PdfSharp.Drawing.XPdfFontOptions Class Reference

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

Public Member Functions

 XPdfFontOptions (PdfFontEncoding encoding, PdfFontEmbedding embedding)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (PdfFontEncoding encoding)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (PdfFontEmbedding embedding)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (bool unicode, byte[] fontData)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (bool embed, string baseFont)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (bool embed, bool unicode)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (bool embed)
 Initializes a new instance of the XPdfFontOptions class. More...
 
 XPdfFontOptions (PdfFontEmbedding fontEmbedding, bool unicode)
 Initializes a new instance of the XPdfFontOptions class. More...
 

Properties

bool Embed [get]
 Gets a value indicating whether the gets embedded in the PDF file. More...
 
PdfFontEmbedding FontEmbedding [get]
 Gets a value indicating the font embedding. More...
 
bool Unicode [get]
 Gets a value indicating whether the font is encoded as Unicode. More...
 
PdfFontEncoding FontEncoding [get]
 Gets a value indicating how the font is encoded. More...
 
string BaseFont [get]
 Not yet implemented. More...
 
string FontFile [get]
 Not yet implemented. More...
 
byte[] FontData [get]
 Gets the font image. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ XPdfFontOptions() [1/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( PdfFontEncoding  encoding,
PdfFontEmbedding  embedding 
)

Initializes a new instance of the XPdfFontOptions class.

◆ XPdfFontOptions() [2/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( PdfFontEncoding  encoding)

Initializes a new instance of the XPdfFontOptions class.

◆ XPdfFontOptions() [3/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( PdfFontEmbedding  embedding)

Initializes a new instance of the XPdfFontOptions class.

◆ XPdfFontOptions() [4/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( bool  unicode,
byte[]  fontData 
)

Initializes a new instance of the XPdfFontOptions class.

Parameters
unicodeIf set to true Unicode encoding is used.
fontDataUser supplied font data.

◆ XPdfFontOptions() [5/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( bool  embed,
string  baseFont 
)

Initializes a new instance of the XPdfFontOptions class.

Parameters
embedIf set to true the font is embedded.
baseFontNot yet implemented. Should be "".

◆ XPdfFontOptions() [6/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( bool  embed,
bool  unicode 
)

Initializes a new instance of the XPdfFontOptions class.

Parameters
embedIf set to true the font is embedded.
unicodeIf set to true Unicode encoding is used.

◆ XPdfFontOptions() [7/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( bool  embed)

Initializes a new instance of the XPdfFontOptions class.

Parameters
embedIf set to true the font is embedded.

◆ XPdfFontOptions() [8/8]

PdfSharp.Drawing.XPdfFontOptions.XPdfFontOptions ( PdfFontEmbedding  fontEmbedding,
bool  unicode 
)

Initializes a new instance of the XPdfFontOptions class.

Parameters
fontEmbeddingIndicates how font is embedded.
unicodeIf set to true Unicode encoding is used.

Property Documentation

◆ BaseFont

string PdfSharp.Drawing.XPdfFontOptions.BaseFont
get

Not yet implemented.

◆ Embed

bool PdfSharp.Drawing.XPdfFontOptions.Embed
get

Gets a value indicating whether the gets embedded in the PDF file.

◆ FontData

byte [] PdfSharp.Drawing.XPdfFontOptions.FontData
get

Gets the font image.

◆ FontEmbedding

PdfFontEmbedding PdfSharp.Drawing.XPdfFontOptions.FontEmbedding
get

Gets a value indicating the font embedding.

◆ FontEncoding

PdfFontEncoding PdfSharp.Drawing.XPdfFontOptions.FontEncoding
get

Gets a value indicating how the font is encoded.

◆ FontFile

string PdfSharp.Drawing.XPdfFontOptions.FontFile
get

Not yet implemented.

◆ Unicode

bool PdfSharp.Drawing.XPdfFontOptions.Unicode
get

Gets a value indicating whether the font is encoded as Unicode.


The documentation for this class was generated from the following file: