Resizes this object such that its bounding rectangle has the specified width and height (in the
coordinate space of the root object of the display).
Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public void SizeToRootSpace(
Vector size,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment
) |
Visual Basic |
---|
Public Sub SizeToRootSpace ( _
size As Vector, _
horizontalAlignment As HorizontalAlignment, _
verticalAlignment As VerticalAlignment _
) |
JScript |
---|
public function SizeToRootSpace(
size : Vector,
horizontalAlignment : HorizontalAlignment,
verticalAlignment : VerticalAlignment
) |
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).
See Also