Gets the bounding box of this object. The coordinate space of the bounding box is determined by the parentTransform parameter.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public Rect GetBoundingBox(
	Transform parentTransform
)
Visual Basic
Public Function GetBoundingBox ( _
	parentTransform As Transform _
) As Rect
JScript
public function GetBoundingBox(
	parentTransform : Transform
) : Rect

Parameters

parentTransform
Type: System.Windows.Media..::..Transform
Usually the RootTransform or DeviceTransform of the parent of this object.

Return Value

The bounding box as a Rect.

Remarks

This bounding box does not include the space occupied by the object's stroke.

See Also