Image Viewer CP ActiveX Control

LoadMultiPage

 

Load the MultiPage image file(PDF,TIF, XPS, OXPS files). load XPS and OXPS files for For Advanced PDF Viewer, PDF Edit plugin only.

Public Function LoadMultiPage( _
   ByVal strFileName As String, _
   ByVal iPage As Integer _
) As Integer

 

Parameter

strFileName 
   the file name of multi page PDF and TIF image file.

iPage
 the page no of multi page image file you want display.

Return Value

Return 1 - successful
Return 0 - Failed


Example

   

Visual Basic Syntax
ImageViewer1.LoadMultiPage "c:\newphoto1.tif", 5