Version

SnapshotPoint Structure Members

The following tables list the members exposed by SnapshotPoint.

Public Constructors
 NameDescription
Public ConstructorSnapshotPoint ConstructorInstantiates a new SnapshotPoint  
Public Properties
 NameDescription
Public PropertyPositionReturns the normalized zero-based end offset from the beginning of the TextDocumentSnapshot (read-only).  
Public PropertySnapshotReturns the associated TextDocumentSnapshot (read-only).  
Public Methods
 NameDescription
Public MethodAddReturns a new SnapshotPoint with its position incremented by an offset.  
Public MethodDifferenceReturns the position difference between this point and another.  
Public MethodEqualsOverloaded. Compares the specified object to this object to see if they are equivalent.  
Public Methodstatic (Shared in Visual Basic)FromTextLocationReturns a SnapshotPoint that represents the specified Infragistics.Documents.Parsing.TextLocation in the specified TextDocumentSnapshot  
Public MethodGetCharReturns the character at this position  
Public MethodGetContainingLineReturns the line containing this point  
Public MethodGetHashCodeReturns the hash code of the structure.  
Public MethodGetTextLocationReturns a Infragistics.Documents.Parsing.TextLocation that corresponds to the SnapshotPoint's Position within the current Snapshot.  
Public MethodSubtractReturns a new SnapshotPoint with its position decremented by an offset.  
Public MethodToStringReturns the string representation of this object.  
Public MethodTranslateToTranslates the point from one snapshot to another.  
Public Operators
public Operator Addition Adds an offset to a position.
public Operator Equality Compares the values of two SnapshotPoint structures for equality
public Operator Greater Than Compares the relative values of two SnapshotPoint structures
public Operator Implicit Type Conversion Implicitly converts the SnapshotPoint to an int representing its position.
public Operator Inequality Compares the values of two SnapshotPoint structures for inequality
public Operator Less Than Compares the relative values of two SnapshotPoint structures
public Operator Subtraction Overloaded. Subtracts an offset from a position.
See Also