PDFView4NET WinForms Edition


The page to display.
The PDF point on the page that must be made visible.
EnsurePageVisible(Int32,PDFPoint) Method
Displays the specified page at the specified location.
Syntax
'Declaration
 
Public Overloads Sub EnsurePageVisible( _
   ByVal pageNumber As Integer, _
   ByVal visiblePDFPoint As PDFPoint _
) 
'Usage
 
Dim instance As PDFPageView
Dim pageNumber As Integer
Dim visiblePDFPoint As PDFPoint
 
instance.EnsurePageVisible(pageNumber, visiblePDFPoint)
public void EnsurePageVisible( 
   int pageNumber,
   PDFPoint visiblePDFPoint
)

Parameters

pageNumber
The page to display.
visiblePDFPoint
The PDF point on the page that must be made visible.
Exceptions
ExceptionDescription
Thrown if pageNumber is less than 0 or greater than or equal to the number of pages in the document.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also