You are here: Start » AVL.NET » AVS.ResizeBox Method
AVS.ResizeBox Method
Changes the dimensions of a box.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ResizeBox ( AvlNet.Box inBox, AvlNet.Anchor2D inAnchor, int? inNewWidth, int? inNewHeight, out AvlNet.Box outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inBox | AvlNet.Box | Input box. | ||
![]() | inAnchor | AvlNet.Anchor2D | TopLeft | Point of the box which position will not change. Default value: TopLeft. | |
![]() | inNewWidth | int? | <0, INF> | Target width of the box. Default value: atl::NIL. | |
![]() | inNewHeight | int? | <0, INF> | Target height of the box. Default value: atl::NIL. | |
![]() | outBox | AvlNet.Box | Resized box. |