TextEmbeddedObject.Draw Method (DrawingContext, Point, Boolean, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Draws the text object.

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

public abstract void Draw(
	DrawingContext drawingContext,
	Point origin,
	bool rightToLeft,
	bool sideways
)

Parameters

drawingContext
Type: System.Windows.Media.DrawingContext

The DrawingContext to use for rendering the text object.

origin
Type: System.Windows.Point

The Point value that represents the origin where the text object is drawn.

rightToLeft
Type: System.Boolean

A Boolean value that determines if the text object is drawn from right to left.

sideways
Type: System.Boolean

A Boolean value that determines if the text object is drawn with its side parallel to the baseline.

.NET Framework
Available since 3.0
Return to top
Show: