Image Viewer CP ActiveX Control

PDFUnicodeLoadMultiPage

 

Load the specific page of multi page PDF. It support open filename with unicode characters for For Advanced PDF Viewer, PDF Edit plugin only.

Public Function PDFUnicodeLoadMultiPage( _
   ByVal strFileName As BSTR _
   ByVal iPage As Integer _
) As Integer

 

Parameter

strFileName 
   the file name of multi page PDF. It support open filename with unicode characters.

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

Return Value

Return 1 - successful
Return 0 - Failed


Example

   

Visual Basic.NET Syntax
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then AxImageViewer1.PDFUnicodeLoadMultiPage(OpenFileDialog1.FileName, 1) lbltotalpage.Text = AxImageViewer1.GetTotalPage