You are here: Start » AVL.NET » AVL.ResizeBox_Delta(AvlNet.Box, AvlNet.Anchor2D, int, int, AvlNet.Box)

AVL.ResizeBox_Delta(AvlNet.Box, AvlNet.Anchor2D, int, int, AvlNet.Box)

Changes the dimensions of a box by adding some values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ResizeBox_Delta(
	AvlNet.Box inBox,
	AvlNet.Anchor2D inAnchor,
	int inWidthDelta,
	int inHeightDelta,
	out AvlNet.Box outBox
)

Parameters

inBox
Type: AvlNet.Box
Input box
inAnchor
Type: AvlNet.Anchor2D
Point of the box which position will not change
inWidthDelta
Type: System.Int32
Value added to width of the box
inHeightDelta
Type: System.Int32
Value added to height of the box
outBox
Type: AvlNet.Box
Resized box

Errors

Error type Description
DomainError Negative box dimensions in ResizeBox_Delta.

See also