TextRangeTake 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) Version: 11.3.999
public TextRange Take(
	int length
)

Parameters

length  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.

See Also