Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
Assembly: PresentationCore (in PresentationCore.dll)
Obsolete.Initializes a new instance of theclass.
|GlyphRun(GlyphTypeface, Int32, Boolean, Double, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)|
Obsolete.Initializes a new instance of theclass by specifying properties of the class.
|GlyphRun(GlyphTypeface, Int32, Boolean, Double, Single, IList<UInt16>, Point, IList<Double>, IList<Point>, IList<Char>, String, IList<UInt16>, IList<Boolean>, XmlLanguage)|
Initializes a new instance of theclass by specifying properties of the class.
Initializes a new instance of theclass.
Gets or sets the list of Double values that represent the advance widths corresponding to the glyph indices.
Gets or sets the baseline origin of the.
Gets or sets the bidirectional nesting level of the.
Gets or sets the list of Boolean values that determine whether there are caret stops for every UTF16 code point in the Unicode representing the .
Gets or sets the list of UTF16 code points that represent the Unicode content of the.
Gets or sets the list of UInt16 values that maps characters in the to glyph indices.
Gets or sets the specific device font for which thehas been optimized.
Gets or sets the em size used for rendering the.
Gets or sets an array of UInt16 values that represent the glyph indices in the rendering physical font.
Gets or sets an array of Point values representing the offsets of the glyphs in the .
Gets or sets the GlyphTypeface for the .
Gets a value indicating whether there are any valid caret character hits within the.
Gets or sets a value indicating whether to rotate glyphs.
Gets or sets the XmlLanguage for the .
Get or sets the PixelsPerDip at which the text should be rendered.
Retrieves the Geometry for the .
Retrieves the alignment box for the.
Retrieves the ink bounding box for the.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Retrieves the CharacterHit value that represents the character hit of the caret of the .
Retrieves the offset from the leading edge of theto the leading or trailing edge of a caret stop containing the specified character hit.
Serves as the default hash function. (Inherited from Object.)
Retrieves the next valid caret character hit in the logical direction in the.
Retrieves the previous valid caret character hit in the logical direction in the.
Returns a string that represents the current object.(Inherited from Object.)
Theobject includes font details such as glyph indices and individual glyph positions. In addition, The object contains the original Unicode code points the run was generated from, character to glyph buffer offset mapping information, and per-character and per-glyph flags.
<!-- The example shows how to use a Glyphs object. --> <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <StackPanel Background="PowderBlue"> <Glyphs FontUri = "C:\WINDOWS\Fonts\TIMES.TTF" FontRenderingEmSize = "100" StyleSimulations = "BoldSimulation" UnicodeString = "Hello World!" Fill = "Black" OriginX = "100" OriginY = "200" /> </StackPanel> </Page>
Each glyph defines metrics that specify how it aligns with other Glyphs. The following graphic defines the various typographic qualities of two different glyph characters.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.