Version

GetIsLineInView Method

Returns whether the document line with the specified zero-based line index is in view.
Syntax
'Declaration
 
Public Function GetIsLineInView( _
   ByVal targetLineIndex As Integer, _
   ByVal mustBeFullyInView As Boolean _
) As Boolean
public bool GetIsLineInView( 
   int targetLineIndex,
   bool mustBeFullyInView
)

Parameters

targetLineIndex
The zero-based line index of the document line whose visible line we are seeking.
mustBeFullyInView
True if the line represented by 'targetLineIndex' must be fully in view, otherwise false.

Return Value

Returns true if the document line with the specified zero-based line index is in view, otherwise false.
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