You are here: Start » FIL.NET » Function Reference » Path » Path Basics » FIL.GetPathSegment
Returns the selected segment of a path.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void GetPathSegment ( FilNet.Path inPath, int inIndex, bool inInverse, out FilNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | FilNet.Path | Input path. | ||
![]() | inIndex | int | <0, INF> | ||
![]() | inInverse | bool | Reversed order of segments. | ||
![]() | outSegment | FilNet.Segment2D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty path in GetPathSegment. |
DomainError | Incorrect segment index in GetPathSegment. |