You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TrimPathToRectangle
Creates a path contained in a rectangle from another path.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TrimPathToRectangle ( FilNet.Path inPath, FilNet.Rectangle2D inRectangle, FilNet.TrimPathMethod inTrimPathMethod, FilNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | FilNet.Path | Input path. | ||
![]() | inRectangle | FilNet.Rectangle2D | |||
![]() | inTrimPathMethod | FilNet.TrimPathMethod | PointToPoint | Default value: PointToPoint. | |
![]() | outPath | FilNet.Path | Output path. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown method for cropping a path in TrimPathToRectangle. |