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

FIL.ResizeRectangle

Changes dimensions of a rectangle.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ResizeRectangle
(
	FilNet.Rectangle2D inRectangle,
	FilNet.Anchor2D inAnchor,
	float? inNewWidth,
	float? inNewHeight,
	out FilNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleFilNet.Rectangle2D
inAnchorFilNet.Anchor2DTopLeftDefault value: TopLeft.
inNewWidthfloat?<0.0f, INF>
inNewHeightfloat?<0.0f, INF>
outRectangleFilNet.Rectangle2D

Examples

ResizeRectangle performed on the sample rectangle, inNewWidth = 177.0 and inNewHeight = 104.0.

See also