[]
        
(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
object
FontHandler
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

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

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