PDF Viewer ActiveX Control

OnPrint

 

Occurs when Printing

Private Sub PDFViewer1_OnPrint(ByVal iPage As Integer, ByVal iTotalPage As Integer,
 ByVal bIsFinish As Boolean)


Parameter

iPage
the current page number .

iTotalPage
the total page of PDF file.

bIsFinish
if print finished bIsFinish is true, otherwise false.