You are here: Start » AVL.NET » AVL.ResizeBox(AvlNet.Box, AvlNet.Anchor2D, int?, int?, AvlNet.Box)
AVL.ResizeBox(AvlNet.Box, AvlNet.Anchor2D, int?, int?, AvlNet.Box)
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
- inBox
- Type: AvlNet.Box
Input box - inAnchor
- Type: AvlNet.Anchor2D
Point of the box which position will not change - inNewWidth
- Type: System.Nullable<System.Int32>
Target width of the box, or null. - inNewHeight
- Type: System.Nullable<System.Int32>
Target height of the box, or null. - outBox
- Type: AvlNet.Box
Resized box
Description
The operation changes dimensions of input Box to (inNewWidth, inNewHeight).
