Finds an instance of text in the span that matches the search criteria. Syntax Parameters criteria The search criteriastartOffset The start offset relative to the beginning of the document.wrapIfNotFound if true continue the search by wrapping if the end is reached without a match.spanToSearch An optional span to ...
Finds all instances of text in the text span that matches the search criteria. Syntax Parameters criteria The search criteriaspanToSearch On optional span to limit the search to. Return Value A TextSearchResultInfo object containing the results of the operation.
Returns a object that can enumerate SnapshotLineInfos. Syntax Parameters startLineIndex The zero-based line offset.enumerateBackwards True to enumerate backwards from the startLineIndex. Return Value A forward or backward enumerator Remarks Note: even though the snapshot is thread-safe, the enumerator is not. Ther...
Returns the string representation of this snapshot. Syntax Return Value The string representation of this snapshot.
Returns the specified substring. Syntax Parameters start The zero-based position of the first character in the string to be returned. Return Value The specified substring.
Returns the specified substring. Syntax Parameters start The zero-based position of the first character in the string to be returned.length The length of the string to be returned. Return Value The specified substring.
Returns the specified substring. Syntax Parameters span The span of the text. Return Value The specified substring.
Returns the string representation of this snapshot. Overload List
Returns the number of Infragistics.Documents.Parsing.Tokens in the shapshot (read-only). Syntax Parameters splitMultilineTokensByLine Indicates whether multiline tokens should be split so no token counted spans multiple line.
Returns a object that can enumerate Infragistics.Documents.Parsing.Tokens. Syntax Parameters startOffset The offset at which to start the token enumeration.filter A function that can decide which tokens get returned from the enumerator.enumerateBackwards True to enumerate backwards from the end of the span to the ...