You are here: Start » FIL.NET » Function Reference » Region » Region Spatial Transforms » FIL.CropRegionToRectangle

FIL.CropRegionToRectangle

Creates a region from a rectangular fragment of another one.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CropRegionToRectangle
(
	FilNet.Region inRegion,
	FilNet.Rectangle2D inRectangle,
	FilNet.CoordinateSystem2D? inRectangleAlignment,
	FilNet.Region outRegion,
	NullableValue<FilNet.Rectangle2D> outAlignedRectangle,
	NullableValue<FilNet.CoordinateSystem2D> outOutputAlignment
)

Parameters

Name Type Range Default Description
inRegionFilNet.RegionInput region.
inRectangleFilNet.Rectangle2DRectangle defining a rotated subregion.
inRectangleAlignmentFilNet.CoordinateSystem2D?Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL.
outRegionFilNet.RegionOutput region.
outAlignedRectangleFilNet.NullableValue<FilNet.Rectangle2D>Input rectangle after transformation (in the region coordinates). Can be null to skip this parameter calculation.
outOutputAlignmentFilNet.NullableValue<FilNet.CoordinateSystem2D>Alignment of the output region. Can be null to skip this parameter calculation.

Function Overrides

See also