Export (0) Print
Expand All

TextPoint Members

Represents a location of text in a text document.

The following tables list the members exposed by the TextPoint type.

  Name Description
Public property AbsoluteCharOffset Gets the one-based character offset from the beginning of the document to the TextPoint object. 
Public property AtEndOfDocument Gets whether the object is at the end of the document. 
Public property AtEndOfLine Gets whether or not object is at the end of a line. 
Public property AtStartOfDocument Gets whether or not the object is at the beginning of the document. 
Public property AtStartOfLine Gets whether or not the object is at the beginning of a line. 
Public property CodeElement Returns the code element at the TextPoint location. 
Public property DisplayColumn Gets the number of the current displayed column containing the TextPoint object. 
Public property DTE Gets the top-level extensibility object. 
Public property Line Gets the line number of the object. 
Public property LineCharOffset Gets the character offset of the object. 
Public property LineLength Gets the number of characters in a line containing the object, excluding the new line character. 
Public property Parent Gets the immediate parent object of a TextPoint object. 
Top

  Name Description
Public method CreateEditPoint Creates and returns an EditPoint object at the location of the calling object.  
Public method EqualTo Returns whether the value of the given point object's AbsoluteCharOffset property is equal to that of the calling TextPoint object.  
Public method GreaterThan Indicates whether or not the value of the calling object's AbsoluteCharOffset property is greater than that of the given point object.  
Public method LessThan Indicates whether or not the value of the called object's AbsoluteCharOffset property is less than that of the given object.  
Public method TryToShow Attempts to display the text point's location.  
Top

Community Additions

ADD
Show:
© 2015 Microsoft