Aspose::Pdf::Text::TextFragment::IsolateTextSegments method

TextFragment::IsolateTextSegments method

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

System::SharedPtr<TextSegmentCollection> Aspose::Pdf::Text::TextFragment::IsolateTextSegments(int32_t startIndex, int32_t length)
ParameterTypeDescription
startIndexint32_tPosition in text from which new TextSegment(s) will start.
lengthint32_tLength of the text that will isolated into TextSegment(s).

ReturnValue

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

See Also