Share via


TextSelection.TextPane 속성

텍스트 선택 영역을 포함 하는 텍스트 창을 가져옵니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
ReadOnly Property TextPane As TextPane
TextPane TextPane { get; }
property TextPane^ TextPane {
    TextPane^ get ();
}
abstract TextPane : TextPane with get
function get TextPane () : TextPane

속성 값

형식: EnvDTE.TextPane
TextPane 개체

예제

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

.NET Framework 보안

참고 항목

참조

TextSelection 인터페이스

EnvDTE 네임스페이스