다음을 통해 공유


ITextViewLine.GetCharacterBounds 메서드 (VirtualSnapshotPoint)

지정된 버퍼 위치에 있는 문자의 범위를 계산합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Formatting
어셈블리:  Microsoft.VisualStudio.Text.UI(Microsoft.VisualStudio.Text.UI.dll)

구문

‘선언
Function GetCharacterBounds ( _
    bufferPosition As VirtualSnapshotPoint _
) As TextBounds
TextBounds GetCharacterBounds(
    VirtualSnapshotPoint bufferPosition
)
TextBounds GetCharacterBounds(
    VirtualSnapshotPoint bufferPosition
)
abstract GetCharacterBounds : 
        bufferPosition:VirtualSnapshotPoint -> TextBounds
function GetCharacterBounds(
    bufferPosition : VirtualSnapshotPoint
) : TextBounds

매개 변수

반환 값

형식: Microsoft.VisualStudio.Text.Formatting.TextBounds
TextBounds 구조체입니다.

예외

예외 조건
ArgumentOutOfRangeException

bufferPosition이 줄에서 위치에 해당 하지 않습니다.

설명

양방향 텍스트의 후행 가장자리 오른쪽에 밑에 첨단 있습니다.

.NET Framework 보안

참고 항목

참조

ITextViewLine 인터페이스

GetCharacterBounds 오버로드

Microsoft.VisualStudio.Text.Formatting 네임스페이스