Metodo ITextViewLineCollection.GetTextViewLineContainingYCoordinate
ottiene ITextViewLine che contiene la coordinata y specificata.
Spazio dei nomi: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Sintassi
'Dichiarazione
Function GetTextViewLineContainingYCoordinate ( _
y As Double _
) As ITextViewLine
ITextViewLine GetTextViewLineContainingYCoordinate(
double y
)
ITextViewLine^ GetTextViewLineContainingYCoordinate(
double y
)
abstract GetTextViewLineContainingYCoordinate :
y:float -> ITextViewLine
function GetTextViewLineContainingYCoordinate(
y : double
) : ITextViewLine
Parametri
y
Tipo: DoubleLa coordinata y in coordinate del rendering del testo.
Valore restituito
Tipo: Microsoft.VisualStudio.Text.Formatting.ITextViewLine
Una riga di testo che contiene la coordinata y, o nullriferimento null (Nothing in Visual Basic) se non esiste già.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentOutOfRangeException | y è Nan. |
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.