TextEmbeddedObject.ComputeBoundingBox(Boolean, Boolean) 方法

定义

获取文本对象的已计算出的边界框。

public:
 abstract System::Windows::Rect ComputeBoundingBox(bool rightToLeft, bool sideways);
public abstract System.Windows.Rect ComputeBoundingBox (bool rightToLeft, bool sideways);
abstract member ComputeBoundingBox : bool * bool -> System.Windows.Rect
Public MustOverride Function ComputeBoundingBox (rightToLeft As Boolean, sideways As Boolean) As Rect

参数

rightToLeft
Boolean

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

sideways
Boolean

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

返回

Rect

一个 Rect 值,表示文本对象的边界框大小。

适用于