TextFragment.IsolateTextSegments

TextFragment.IsolateTextSegments method

Gets TextSegment(s) representing specified part of the TextFragment text.

public TextSegmentCollection IsolateTextSegments(int startIndex, int length)
ParameterTypeDescription
startIndexInt32Position in text from which new TextSegment(s) will start.
lengthInt32Length of the text that will isolated into TextSegment(s).

Return Value

TextSegmentCollection containing text segments represeting text substring starting at a specifing position and having a specified length.

See Also