ITextViewModel::GetNearestPointInVisualBuffer Method (SnapshotPoint)
Visual Studio 2015
Gets a point in the VisualBuffer that corresponds to the specified point in the edit buffer. If the point is hidden or has an alternative representation, gets the nearest point to it.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- editBufferPoint
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
A point in the EditBuffer.
Return Value
Type: Microsoft.VisualStudio.Text::SnapshotPointA point in the VisualBuffer that corresponds to the given point.
The definition of "nearest" depends on the implementation of the text view model.
Show: