PathGeometry.Bounds Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a Rect that specifies the bounding box of this PathGeometry object. Note: This method does not take any pens into account.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public override Rect Bounds { get; }

Property Value

Type: System.Windows.Rect

The bounding box of this PathGeometry.

If animations are present, the base values of the Geometry object are used to calculate the bounding box.

.NET Framework
Available since 3.0
Return to top