Compartilhar via


Método ITextViewLine.GetExtendedCharacterBounds (SnapshotPoint)

Calcula os limites do caractere na posição do buffer especificado, incluindo qualquer ornamentos adjacentes de negociação de espaço.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (em Microsoft.VisualStudio.Text.UI.dll)

Sintaxe

'Declaração
Function GetExtendedCharacterBounds ( _
    bufferPosition As SnapshotPoint _
) As TextBounds
TextBounds GetExtendedCharacterBounds(
    SnapshotPoint bufferPosition
)
TextBounds GetExtendedCharacterBounds(
    SnapshotPoint bufferPosition
)
abstract GetExtendedCharacterBounds : 
        bufferPosition:SnapshotPoint -> TextBounds
function GetExtendedCharacterBounds(
    bufferPosition : SnapshotPoint
) : TextBounds

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Text.Formatting.TextBounds
A TextBounds estrutura.

Exceções

Exceção Condição
ArgumentOutOfRangeException

bufferPositionnão corresponde a uma posição nessa linha.

Comentários

Texto bidirecional tem uma ponta que se encontra à direita de sua borda direita.

Segurança do .NET Framework

Consulte também

Referência

ITextViewLine Interface

Sobrecargas GetExtendedCharacterBounds

Namespace Microsoft.VisualStudio.Text.Formatting