You are here: Start » AVL.NET » Invoke.ResizeBox

Invoke.ResizeBox

Changes the dimensions of a box.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ResizeBox
(
	Avl.Box inBox,
	Avl.Anchor2D inAnchor,
	Optional<int> inNewWidth,
	Optional<int> inNewHeight,
	out Avl.Box outBox
)

Parameters

Name Type Range Default Description
inBoxAvl.BoxInput box.
inAnchorAvl.Anchor2DTopLeftPoint of the box which position will not change. Default value: TopLeft.
inNewWidthAtl.Optional<int><0, INF>Target width of the box. Default value: atl::NIL.
inNewHeightAtl.Optional<int><0, INF>Target height of the box. Default value: atl::NIL.
outBoxAvl.BoxResized box.

See also