You are here: Start » FIL.NET » Function Reference » Region » Region Basics » FIL.CreateRectangleBorderRegion

FIL.CreateRectangleBorderRegion

Creates a frame-shaped region with given parameters.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CreateRectangleBorderRegion
(
	FilNet.Rectangle2D inRectangle,
	FilNet.CoordinateSystem2D? inRectangleAlignment,
	float inBorderWidth,
	FilNet.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	FilNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRectangleFilNet.Rectangle2D
inRectangleAlignmentFilNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL.
inBorderWidthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inBorderPositionFilNet.BorderPositionCenteredDefault value: Centered.
inFrameWidthint<0, 65535>Width of the created region's frame.
inFrameHeightint<0, 65535>Height of the created region's frame.
outRegionFilNet.RegionOutput region.

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect BorderPosition in CreateRectangleBorderRegion.

Function Overrides

See also