Take Method
Returns a specified number of contiguous elements from the start of the slice.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public TextRange Take(
int length
)
Public Function Take (
length As Integer
) As TextRange
member Take :
length : int -> TextRange
Parameters
- Int32
- The number of elements to return.
Return Value
TextRange
A TextRange that contains the specified number of elements from the start of this slice.