Sdílet prostřednictvím


TextSelection.TextPane – vlastnost

Získá podokna textu, který obsahuje výběr textu.

Obor názvů:  EnvDTE
Sestavení:  EnvDTE (v EnvDTE.dll)

Syntaxe

'Deklarace
ReadOnly Property TextPane As TextPane
TextPane TextPane { get; }
property TextPane^ TextPane {
    TextPane^ get ();
}
abstract TextPane : TextPane with get
function get TextPane () : TextPane

Hodnota vlastnosti

Typ: EnvDTE.TextPane
Objekt TextPane.

Příklady

Sub TextPaneExample()
   ' Before running this example, open a code document.
   Dim objSel As TextSelection = DTE.ActiveDocument.Selection
   Dim objTP As TextPane = objSel.TextPane
   ' List text pane height and width property values.
   MsgBox("Text pane height: " & objTP.Height & vbCr & "Text pane width: " & objTP.Width)
End Sub

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TextSelection Rozhraní

EnvDTE – obor názvů