Stretches and moves the object to fit within the specified rectangle.

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

Syntax

C#
public void SetDimensions(
	Rect rect,
	Transform parentTransform
)
Visual Basic
Public Sub SetDimensions ( _
	rect As Rect, _
	parentTransform As Transform _
)
JScript
public function SetDimensions(
	rect : Rect, 
	parentTransform : Transform
)

Parameters

rect
Type: System.Windows..::..Rect
The new rectangular dimensions for the object.
parentTransform
Type: System.Windows.Media..::..Transform
Transform (usually from this object's parent object to the root coordinate space).

See Also