Aloaha PDF2TXT API

The Aloaha PDF2TXT API is included in all Aloaha PDF tools and is activated with an enterprise license.

Please find below a code sniplet to demonstrate the usage:

Dim pdf
Dim pdffile
Dim pageno

Set pdf = CreateObject(“aloahapdf.edit”)

pdffile=”c:\test.pdf”
pageno=1

If pdf.load_pdf_to_mem(CStr(pdffile)) = true Then
          MsgBox pdf.get_page_text(CLng(pageno),0)
End If

Set pdf = nothing