Aracılığıyla paylaş


ITextViewLineCollection.GetTextViewLineContainingYCoordinate(Double) Method

Definition

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

Applies to