ITextViewLineCollection.GetCharacterBounds(SnapshotPoint) Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text bounds of the specified text buffer position.
public:
 Microsoft::VisualStudio::Text::Formatting::TextBounds GetCharacterBounds(Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition);public Microsoft.VisualStudio.Text.Formatting.TextBounds GetCharacterBounds(Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition);abstract member GetCharacterBounds : Microsoft.VisualStudio.Text.SnapshotPoint -> Microsoft.VisualStudio.Text.Formatting.TextBoundsPublic Function GetCharacterBounds (bufferPosition As SnapshotPoint) As TextBoundsParameters
- bufferPosition
- SnapshotPoint
The text buffer-based index of the character.
Returns
A rectangular TextBounds structure.
Exceptions
bufferPosition does not correspond to a position on this line.