GetOffsetAndLength()
Range::GetOffsetAndLength(int32_t) const method
Computes the zero-based start offset and length for the specified collection length.
System::ValueTuple<int32_t, int32_t> System::Range::GetOffsetAndLength(int32_t length) const
Arguments
| Parameter | Type | Description |
|---|---|---|
| length | int32_t | The length of the collection. |
Return Value
The tuple containing zero-based index from the start of the collection and the number of elements selected by the range.
See Also
- Class ValueTuple
- Class Range
- Namespace System
- Library Aspose.Slides