ITextViewLineCollection.GetTextViewLineContainingYCoordinate(Double) 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 ITextViewLine that contains the specified y-coordinate.
public:
Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ GetTextViewLineContainingYCoordinate(double y);
public:
Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ GetTextViewLineContainingYCoordinate(double y);
Microsoft::VisualStudio::Text::Formatting::ITextViewLine GetTextViewLineContainingYCoordinate(double y);
public Microsoft.VisualStudio.Text.Formatting.ITextViewLine GetTextViewLineContainingYCoordinate (double y);
abstract member GetTextViewLineContainingYCoordinate : double -> Microsoft.VisualStudio.Text.Formatting.ITextViewLine
Public Function GetTextViewLineContainingYCoordinate (y As Double) As ITextViewLine
Parameters
- y
- Double
The y-coordinate in the text rendering coordinate.
Returns
A text line that contains the y-coordinate, or null if none exists.
Exceptions
y
is NaN.