GeneralTransform.TransformBounds Method (Rect)


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

When overridden in a derived class, transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

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

Public MustOverride Function TransformBounds (
	rect As Rect
) As Rect


Type: System.Windows.Rect

The bounding box to transform.

Return Value

Type: System.Windows.Rect

The smallest axis-aligned bounding box possible that contains the transformed rect.

.NET Framework
Available since 3.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top