共用方式為


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 值,表示文字物件的週框大小。

適用於