You are here: Start » FIL.NET » Function Reference » Region » Region Spatial Transforms » FIL.TrimRegionToRectangle
Limits a region to a rectangular area.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TrimRegionToRectangle ( FilNet.Region inRegion, FilNet.Rectangle2D inRectangle, FilNet.CoordinateSystem2D? inRectangleAlignment, FilNet.Region outRegion, out FilNet.Rectangle2D outAlignedRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inRectangle | FilNet.Rectangle2D | Trimming rectangle. | ||
![]() | inRectangleAlignment | FilNet.CoordinateSystem2D? | Adjusts the rectangle to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | outRegion | FilNet.Region | Output region. | ||
![]() | outAlignedRectangle | FilNet.Rectangle2D | Input rectangle after transformation (in the region coordinates). |
Function Overrides
- TrimRegionToRectangle(Region, Rectangle2D, Region)
- TrimRegionToRectangle(Region, Rectangle2D, Nullable<CoordinateSystem2D>, Region)
- TrimRegionToRectangle(Region, Rectangle2D, Nullable<CoordinateSystem2D>, Region, NullableValue<Rectangle2D>)