Version

TextDocumentSnapshot Class Methods

For a list of all members of this type, see TextDocumentSnapshot members.

Public Methods
 NameDescription
Public MethodCreateScannerCreates a new instance of a TextDocumentSnapshotScanner  
Public MethodFindFinds an instance of text in the span that matches the search criteria.  
Public MethodFindAllFinds all instances of text in the text span that matches the search criteria.  
Public MethodGetLinesReturns a object that can enumerate SnapshotLineInfos.  
Public MethodGetTextOverloaded. Returns the string representation of this snapshot.  
Public MethodGetTokenCountReturns the number of Infragistics.Documents.Parsing.Tokens in the shapshot (read-only).  
Public MethodGetTokensOverloaded. Returns a object that can enumerate Infragistics.Documents.Parsing.Tokens.  
Public MethodIsCompatibleWithDetermines if 2 snapshots are compatible (i.e. have the same root buffer)  
Public MethodLineFromIndexReturns the corresponding SnapshotLineInfo from a zero-based index.  
Public MethodLineFromOffsetReturns the corresponding SnapshotLineInfo from a zero-based offset value.  
Public MethodLineIndexFromOffsetReturns the corresponding zero-based line index from a zero-based offset value.  
Public MethodLocationFromOffsetReturns the corresponding line and character location from a zero-based offset value.  
Public MethodOffsetFromLocationReturns the corresponding overall zero-based offset from a line and character location.  
Public MethodTokenFromOffsetReturns the corresponding Infragistics.Documents.Parsing.Token from a zero-based offset value.  
Public MethodWordFromOffsetReturns the Word from a zero-based offset value.  
See Also