Edit

Bagikan melalui


TextEmbeddedObject.ComputeBoundingBox(Boolean, Boolean) Method

Definition

Gets the computed bounding box of the text object.

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

Parameters

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.

Returns

A Rect value that represents the bounding box size of the text object.

Applies to