GlyphRun ClassDocument Toolkit Help
Provides access to font details such as glyph indices and individual glyph positions
Inheritance Hierarchy


Namespace: FirstFloor.Documents.Fonts
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public class GlyphRun

The GlyphRun type exposes the following members.


Public propertyAdvanceWidths
Gets an array of Double values that represent the advance widths corresponding to the glyph indices.
Public propertyBounds
Retrieves the bounding box of the Glyphs element relative to the FixedPage.
Public propertyCharacters
Gets an array of UTF16 code points that represent the Unicode content of the GlyphRun.
Public propertyFontRenderingEmSize
Gets the em size used for rendering the GlyphRun.
Public propertyGlyphIndices
Gets an array of UInt16 values that represent the glyph indices in the rendering physical font.
Public propertyGlyphTypeface
Gets the GlyphTypeface for the GlyphRun.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Please note that GlyphRun elements are not updated after initialization. Modifications to an underlying Glyphs element are not applied to the associated GlyphRun. This behavior is sufficient for the fixed behavior of XPS document pages.

See Also