Resizes this object such that its bounding rectangle has the specified width and height.
Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public void SizeTo(
Vector size,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
Transform parentTransform
) |
Visual Basic |
---|
Public Sub SizeTo ( _
size As Vector, _
horizontalAlignment As HorizontalAlignment, _
verticalAlignment As VerticalAlignment, _
parentTransform As Transform _
) |
JScript |
---|
public function SizeTo(
size : Vector,
horizontalAlignment : HorizontalAlignment,
verticalAlignment : VerticalAlignment,
parentTransform : Transform
) |
Parameters
- size
- Type: System.Windows..::..Vector
The new width and height for this object.
- horizontalAlignment
- Type: System.Windows..::..HorizontalAlignment
Specifies the horizontal point relative to this object's bounding rectangle that is used as the anchor point for the resize
(the anchor point's location remains fixed when the object is resized).
- verticalAlignment
- Type: System.Windows..::..VerticalAlignment
Specifies the vertical point relative to this object's bounding rectangle that is used as the anchor point for the resize
(the anchor point's location remains fixed when the object is resized).
- parentTransform
- Type: System.Windows.Media..::..Transform
Transform (usually from this object's parent object to the root coordinate space).
See Also