The following tables list the members exposed by SnapshotPoint.
Name | Description | |
---|---|---|
SnapshotPoint Constructor | Instantiates a new SnapshotPoint |
Name | Description | |
---|---|---|
Position | Returns the normalized zero-based end offset from the beginning of the TextDocumentSnapshot (read-only). | |
Snapshot | Returns the associated TextDocumentSnapshot (read-only). |
Name | Description | |
---|---|---|
Add | Returns a new SnapshotPoint with its position incremented by an offset. | |
Difference | Returns the position difference between this point and another. | |
Equals | Overloaded. Compares the specified object to this object to see if they are equivalent. | |
FromTextLocation | Returns a SnapshotPoint that represents the specified Infragistics.Documents.Parsing.TextLocation in the specified TextDocumentSnapshot | |
GetChar | Returns the character at this position | |
GetContainingLine | Returns the line containing this point | |
GetHashCode | Returns the hash code of the structure. | |
GetTextLocation | Returns a Infragistics.Documents.Parsing.TextLocation that corresponds to the SnapshotPoint's Position within the current Snapshot. | |
Subtract | Returns a new SnapshotPoint with its position decremented by an offset. | |
ToString | Returns the string representation of this object. | |
TranslateTo | Translates the point from one snapshot to another. |
Addition | Adds an offset to a position. |
Equality | Compares the values of two SnapshotPoint structures for equality |
Greater Than | Compares the relative values of two SnapshotPoint structures |
Implicit Type Conversion | Implicitly converts the SnapshotPoint to an int representing its position. |
Inequality | Compares the values of two SnapshotPoint structures for inequality |
Less Than | Compares the relative values of two SnapshotPoint structures |
Subtraction | Overloaded. Subtracts an offset from a position. |