ITextViewLine.GetExtendedCharacterBounds, méthode (SnapshotPoint)

Calcule les limites du caractère à la position de la mémoire tampon spécifiée, ornements négociant les espaces adjacents compris.

Espace de noms :  Microsoft.VisualStudio.Text.Formatting
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Text.Formatting.TextBounds
Structure TextBounds.

Exceptions

Exception Condition
ArgumentOutOfRangeException

bufferPosition ne correspond pas à une position sur cette ligne.

Notes

Le texte bidirectionnel a un bord de tête qui repose à droite de son bord de fin.

Sécurité .NET Framework

Voir aussi

Référence

ITextViewLine Interface

GetExtendedCharacterBounds, surcharge

Microsoft.VisualStudio.Text.Formatting, espace de noms