You are here: Start » AVL.NET » AVL.ResizeBox
Changes the dimensions of a box.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeBox ( AvlNet.Box inBox, AvlNet.Anchor2D inAnchor, 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. | ||
outBox | AvlNet.Box | Resized box. |
Description
The operation changes dimensions of input Box to (inNewWidth, inNewHeight).