Free Support Forum - aspose.com

PDFEXTACTOR method not functioning as desired

I am having difficulty having PDFEXTRACTOR method working as desired. I am using Pdf.Kit v3.9 using the following Help code snippet

Imports Aspose.Pdf.Kit

Module Module1

Sub Main()

Dim extractor As PdfExtractor = New PdfExtractor()

Dim license As License = New Licenselicense.SetLicense(

"c:\rmu\Aspose.Total.lic")

extractor.Password = ""

extractor.BindPdf("c:\rmu\1.pdf")

extractor.ExtractText()

extractor.GetText("c:\rmu\1.txt")

End Sub

and the resultant text is simply jibberish. I have had it working in my full blown app, then all of a sudden it started giving me jibberish, so I went right back to a basic Help snippet to test and I get the same results.

Some of the jibberish:

a
C f
q
c
SS
o
a o
j
L L
OMMVLNNLOP
m c
m f
faNMMNQTPNO b faPNSTTSUR ob fa QQRRPSS
i k lkqb c k arifl
a
L L
NVQOLMNLMN ST d
e TSPQUSRORO s tm
s
RO
u a RN q m
D m D q
p NO eovbpp sb p NO eovbpp sb
b b
qlolkql
m
Sk QqR qlolkql
m
Sk QqR
m Ee FEQNSFSMQJMRVO m Ee FEQNSFSMQJMRVU
m E F
b
m E F
b K
j f L f f o W q
m
i


This message was posted using Aspose.Live 2 Forum

Hi Edmund,

Thank you very much for considering Aspose.

Currently, you’re having problem with V 3.9, however you mentioned that the text was being extracted in your application previously; can you please mention which version you have been using before? Moreover, please share the problematic PDF with us, so we could test the issue at our end and suggest you something accordingly.

We’re sorry for the inconvenience.
Regards,