TextElementAutomationPeer.GetBoundingRectangleCore Method ()


Gets the Rect representing the bounding rectangle of the TextElement that is associated with this TextElementAutomationPeer. Called by GetBoundingRectangle.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override Rect GetBoundingRectangleCore()

Return Value

Type: System.Windows.Rect

The Rect that contains the coordinates of the element, or Empty if the element is not a HwndSource and a PresentationSource.

.NET Framework
Available since 3.0
Return to top