You are here: Start » FIL.NET » Invoke.CropRegionToRectangle

Invoke.CropRegionToRectangle

Creates a region from a rectangular fragment of another one.

Namespace:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inRegionFil.RegionInput region.
inRectangleFil.Rectangle2DRectangle defining a rotated subregion.
inRectangleAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL.
outRegionFil.RegionOutput region.
outAlignedRectangleFtl.Optional<Fil.Rectangle2D>Input rectangle after transformation (in the region coordinates).
outOutputAlignmentFtl.Optional<Fil.CoordinateSystem2D>Alignment of the output region.

See also