TextEmbeddedObject.Draw(DrawingContext, Point, Boolean, Boolean) 方法

定义

绘制文本对象。

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)

参数

drawingContext
DrawingContext

要用于呈现文本对象的 DrawingContext

origin
Point

一个 Point 值,表示文本对象的起始绘制位置。

rightToLeft
Boolean

一个 Boolean 值,该值确定是否从右向左绘制文本对象。

sideways
Boolean

一个 Boolean 值,该值确定是否沿文本对象的平行于基线的侧边绘制文本对象。

适用于