You are here: Start » FIL.NET » FIL.CropProfile
Confines a profile to its continuous subsequence.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropProfile ( FilNet.Profile inProfile, int inStart, int? inLength, FilNet.Profile outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile | FilNet.Profile | Input profile. | ||
![]() | inStart | int | <0, INF> | Index of the first element of the input profile that will be included in the output profile. | |
![]() | inLength | int? | <0, INF> | Length of the output profile. Default value: ftl::NIL. | |
![]() | outProfile | FilNet.Profile | Output profile. |
Description
The operation crops profile to a new size. It removes values from inProfile, except those, which are included between inStart and inStart + inLength indexes.
Remarks
Value of inLength set to Auto means that the operation is performed on all elements starting from inStart till the end of inProfile.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Selected index range exceeds the input profile in CropProfile. |