You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.ResizeRectangle_Delta

FIL.ResizeRectangle_Delta

Changes dimensions of a rectangle by adding some values.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ResizeRectangle_Delta
(
	FilNet.Rectangle2D inRectangle,
	FilNet.Anchor2D inAnchor,
	float inWidthDelta,
	float inHeightDelta,
	out FilNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleFilNet.Rectangle2D
inAnchorFilNet.Anchor2DTopLeftDefault value: TopLeft.
inWidthDeltafloat0.0fValue added to width of the rectangle. Default value: 0.0f.
inHeightDeltafloat0.0fValue added to height of the rectangle. Default value: 0.0f.
outRectangleFilNet.Rectangle2D

Errors

List of possible exceptions:

Error type Description
DomainError Negative rectangle dimensions in ResizeRectangle_Delta.

See also