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

Definition

Draws the text object.

public:
 abstract void Draw(System::Windows::Media::DrawingContext ^ drawingContext, System::Windows::Point origin, bool rightToLeft, bool sideways);
public abstract void Draw (System.Windows.Media.DrawingContext drawingContext, System.Windows.Point origin, bool rightToLeft, bool sideways);
abstract member Draw : System.Windows.Media.DrawingContext * System.Windows.Point * bool * bool -> unit
Public MustOverride Sub Draw (drawingContext As DrawingContext, origin As Point, rightToLeft As Boolean, sideways As Boolean)

Parameters

drawingContext
DrawingContext

The DrawingContext to use for rendering the text object.

origin
Point

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

rightToLeft
Boolean

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

sideways
Boolean

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

Applies to