You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TrimPathToRectangle

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
inPathFilNet.PathInput path.
inRectangleFilNet.Rectangle2D
inTrimPathMethodFilNet.TrimPathMethodPointToPointDefault value: PointToPoint.
outPathFilNet.PathOutput path.

Errors

List of possible exceptions:

Error type Description
DomainError Unknown method for cropping a path in TrimPathToRectangle.

See also