Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Sep 08, 2014 1:28 pm

Hi There

I get the following Errors, while testing out this software before a buy:
PdfDocument doc = new PdfDocument();
//loads a PDF contaning 3 pages
doc.LoadFromFile(PDFFile);

doc.SaveToFile(path + "\\" + "_doc.doc", FileFormat.DOC);
Here i get Error System.IO.EndOfStreamException occured in mscorelib.dll

doc.SaveToFile(path + "\\" + "_xps.xps", FileFormat.XPS);
This one goes OK

doc.SaveToFile(path + "\\" + "_html.html", FileFormat.HTML);
Here i get Unhandled Exception in Spire.Pdf.dll
Save To html can not be support.

What i need is a way to convert a PDF too HTML
(with only paragraph, linebreaks and tables) can strip rest self.
Or a plain text..

Can this software do it, and is the errors cuse of freeware version?

Best Regards
Christian Mikkelsen


doc.Close();

cmritzau
 
Posts: 1
Joined: Mon Sep 08, 2014 1:08 pm

Tue Sep 09, 2014 1:31 am

Hello,

Thanks for your inquiry.
Sorry that at present our product doesn't support to convert PDF to Doc/html.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.PDF