[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.FontHandler

Class FontHandler

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Represents and manages a Font used in a GcPdfDocument.

public class FontHandler
Inheritance
FontHandler
Inherited Members

Constructors

FontHandler(Font)

Initializes a new instance of the FontHandler class.

public FontHandler(Font font)

Parameters

font Font

The Font associated with the current FontHandler.

Properties

Doc

Gets the GcPdfDocument owning this FontHandler.

public GcPdfDocument Doc { get; }

Property Value

GcPdfDocument

EmbedMode

Gets or sets the font embedding mode.

By default this property is unspecified (null), and the actual embedding mode depends on whether or not the Font is one of StandardFonts.

For standard fonts, StandardFontEmbedMode determines the embedding mode.

For all other fonts, FontEmbedMode determines the embedding mode.

public FontEmbedMode? EmbedMode { get; set; }

Property Value

FontEmbedMode?

Font

Gets the Font associated with this FontHandler.

public Font Font { get; }

Property Value

Font

FontSubsetFlags

Gets or sets the flags that allow fine-tuning the creation of subset for this font.

By default this is null, which indicates that GcPdf will select appropriate flags automatically.

public FontSubsetFlags? FontSubsetFlags { get; set; }

Property Value

FontSubsetFlags?

Owner

Gets the FontHandlerCollection containing this FontHandler.

public FontHandlerCollection Owner { get; }

Property Value

FontHandlerCollection

PdfFontFormat

Gets or sets the format used to represent the font in a document. If null (the default), PdfFontFormat is used.

Note that this property does not affect the 14 standard PDF fonts, those are always encoded as Type1.

public PdfFontFormat? PdfFontFormat { get; set; }

Property Value

PdfFontFormat?

UsedInDocument

Gets a value indicating whether the current font is actually used in the document.

public bool UsedInDocument { get; }

Property Value

bool

Utf32CodeSet

Gets or sets a Utf32CodeSet object that specifies which Unicode characters will be included in the embedded subset in addition to the glyphs used in the static document content.

By default this property is null.

public Utf32CodeSet Utf32CodeSet { get; set; }

Property Value

Utf32CodeSet