Assembly: PresentationCore (in PresentationCore.dll)
Gets the axis-aligned bounds of the drawing's contents. (Inherited from Drawing.)
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets or sets the foreground brush of the.
Gets or sets the GlyphRun that describes the text to draw.
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
The GlyphRun object represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
GlyphRun contains font details such as glyph indices and individual glyph positions. In addition, GlyphRun 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.
Freezable Features: A is a type of Freezable object and therefore can be frozen to improve performance. For information about Freezable features, such as freezing and cloning, see the Freezable Objects Overview.
Caution: objects do not support partial trust execution. An application must have full trust permissions to use objects.
Legacy Code Example
The following example uses ato draw the text "Hello World".Code snippet is not found. Confirm that the code snippet name 'DrawingMiscSnippets_snip' is correct.
A GlyphRun is a low-level object intended for use with fixed-format document presentation and print scenarios. A simpler way to draw text to the screen is to use a Label or a TextBlock. For more information about GlyphRun, see the Introduction to the GlyphRun Object and Glyphs Element overview.
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.