Version

ViewLineFromLineIndex Method

Returns the DocumentViewLine that corresponds to the to the document line with the specified zero-based line index, or null if the document line with the specified zero-based line index is out of view.
Syntax
'Declaration
 
Public Function ViewLineFromLineIndex( _
   ByVal lineIndex As Integer _
) As DocumentViewLine
public DocumentViewLine ViewLineFromLineIndex( 
   int lineIndex
)

Parameters

lineIndex
The zero-based line index of the document line whose visible line we are seeking.

Return Value

The DocumentViewLine that corresponds to the to the document line with the specified zero-based line index, or null if the document line with the specified zero-based line index is out of view.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also