ITextViewLine::GetCharacterBounds Method (VirtualSnapshotPoint)
Visual Studio 2015
Calculates the bounds of the character at the specified buffer position.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- bufferPosition
-
Type:
Microsoft.VisualStudio.Text::VirtualSnapshotPoint
The text buffer-based index of the character.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | bufferPosition does not correspond to a position on this line. |
Bidirectional text has a leading edge that lies to the right of its trailing edge.
Show: