PDF Viewer ActiveX Control

UnicodeLoadPDFFile

 

Load the PDF file. It support open filename with unicode characters. For VB.NET, C#, VC++ only.

Public Function UnicodeLoadPDFFile( 
  ByRef strPDFFile  As String
 ) as Bool

 

No Parameter

Return Value
0 - successful, otherwise return -1.

Example

   

Visual Basic .NET Syntax

If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
   AxPDFViewrer1.UnicodeLoadPDFFile(OpenFileDialog1.FileName)
End If