Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Jul 10, 2019 10:11 am

Good morning,
I have a problem converting a word to pdf with the field NUMPAGES.
For a reason that I do not know, I repeat the number of pages as many times as there are pages in the document.
I send you an example of the word and two results.
The code is very simple:
Document doc = new Document(@"D:\OnePages.Docx");
doc.SaveToFile(@"D:\OnePage.pdf", Spire.Doc.FileFormat.PDF);

Document doc = new Document(@"D:\FivePages.Docx");
doc.SaveToFile(@"D:\FivePages.pdf", Spire.Doc.FileFormat.PDF);
Thank you very much for your help!

LauraNM
 
Posts: 77
Joined: Tue Feb 19, 2019 1:23 pm

Thu Jul 11, 2019 1:58 am

Hello,

Thanks for your post.
I have noticed the issue and logged it into our bug tracking system for further investigating and fixing, if there is any update, we will let you know. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Thu Jul 11, 2019 9:28 am

Thank you very much!

LauraNM
 
Posts: 77
Joined: Tue Feb 19, 2019 1:23 pm

Fri Jul 12, 2019 1:36 am

Hello,

Thanks for your feedback.
Our Dev team is working on this issue now, once there is any good news, we will keep you informed immediately.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Tue Sep 03, 2019 9:54 am

Hello,

Glad to inform that the issue has been fixed in Spire.Office Platinum (DLL Only) Version:4.9.0, please download it from the following links and test.
Website: https://www.e-iceblue.com/Download/download-office-for-net-now.html
Nuget: https://www.nuget.org/packages/Spire.Office/

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc