TextElementAutomationPeer.GetBoundingRectangleCore メソッド

定義

この TextElementAutomationPeer に関連付けられている TextElement の外接する四角形を表す Rect を取得します。 GetBoundingRectangle() によって呼び出されます。

protected:
 override System::Windows::Rect GetBoundingRectangleCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override System.Windows.Rect GetBoundingRectangleCore ();
protected override System.Windows.Rect GetBoundingRectangleCore ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
Protected Overrides Function GetBoundingRectangleCore () As Rect

戻り値

要素の座標を含む Rect。要素が Empty および HwndSource でない場合は PresentationSource

属性

適用対象

こちらもご覧ください