I'm using a licensed version of PDF-XChange Editor Plus.
I would like to extract text content from searchable PDFs via VBA. OCR is already applied.
Additional I have two related questions:
Where can I find an API for VBA oder a documentation, which provides more information how to interact between Excel VBA and XChange-PDF?
What's the name of the library to use in a late-binding statement?
Any help is appreciated!

Until now I've found the following code to start with, but I couldn't figure out, where other users got the object methods from.
Code: Select all
Public Function fncReadTextFromPDF(strFilepath as String) as String
Dim PXV As PDFXEdit.PXV_Inst
Dim pxc As New PDFXEdit.PXC_Inst
Dim Doc As IPXC_Document
Set PXV = New PDFXEdit.PXV_Inst
PXV.Init
Set pxc = PXV.GetExtension("PXC")
pxc.Init ""
Set Doc = pxc.OpenDocumentFromFile("File " & strFilepath, Nothing)
Doc.Close
pxc.Finalize
End Function