DrawingContext.DrawGlyphRun Method (Brush, GlyphRun)

 

Draws the specified text.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract void DrawGlyphRun(
	Brush foregroundBrush,
	GlyphRun glyphRun
)

Parameters

foregroundBrush
Type: System.Windows.Media.Brush

The brush used to paint the text.

glyphRun
Type: System.Windows.Media.GlyphRun

The text to draw.

.NET Framework
Available since 3.0
Return to top
Show: