PDF Viewer SDK ActiveX x64 Control ReferenceMethods ExportText PDF Viewer ActiveX Control ExportText Export the Text from specific Page to Unicode Text File, XML File or HTML File. Public Function ExportText( ByVal strTextFileName As String ,_ ByVal iPage As Integer ,_ ByVal iOutputType As Integer ) as bool ParameterstrTextFileNamethe output text file name.iPagethe output page number, the first page is 0.iOutputTypethe output text type.0 - Unicode Text File1 - XML File2 - HTML file.Return Valuetrue - successful, otherwise return false. Example Visual Basic SyntaxPDFViewer1.LoadPDFFile ="c:\test.pdf"PDFViewer1.ExportText "c:\output.txt", 0, 0