IVerticalScrollBar.GetYCoordinateOfBufferPosition(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 y-coordinate in the scrollbar track that corresponds to a buffer position.
public:
double GetYCoordinateOfBufferPosition(Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition);
public double GetYCoordinateOfBufferPosition (Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition);
abstract member GetYCoordinateOfBufferPosition : Microsoft.VisualStudio.Text.SnapshotPoint -> double
Public Function GetYCoordinateOfBufferPosition (bufferPosition As SnapshotPoint) As Double
Parameters
- bufferPosition
- SnapshotPoint
Desired position.
Returns
Corresponding y-coordinate.