This documentation is archived and is not being maintained.

TextPane Members

Represents a pane within a text editor window.

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

  Name Description
Public property Collection Gets the collection containing the TextPane object supporting this property. 
Public property DTE Gets the top-level extensibility object. 
Public property Height Gets the height of the text pane in character units. 
Public property Selection Gets an object representing the current selection on the TextPane object. 
Public property StartPoint Gets the TextPoint object representing the first displayed character of the pane. 
Public property Width Gets the width of the pane in character units. 
Public property Window Gets the Window object that contains the pane. 

  Name Description
Public method Activate Moves the focus to the current item.  
Public method IsVisible Returns a value indicating whether the character or specified characters are visible in the text pane.  
Public method TryToShow Adjusts the location of the view in the text buffer so that the indicated range of text is shown in the text pane, if possible. You can control where in the pane the text displays.