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 May 26, 2014 3:09 pm

Hi,

how do I add a blank page to the beginning of an existing PDF?
I have:
Code: Select all

PdfDocument doc1 = new PdfDocument();
doc1.LoadFromFile(@"c:\test.pdf");
doc1.Pages.Insert(0);
doc1.SaveToFile(@"h:\result.pdf");
doc1.Close();


but it adds the page to the end of the existing pdf.

filip.wilssens
 
Posts: 1
Joined: Tue Apr 29, 2014 8:09 am

Tue May 27, 2014 2:27 am

Hello,

Thanks for your inquiry.
Sorry for the inconvenience caused by the issue. I have transfered it to our dev team.
We will inform you at once when it is resolved.

Please feel free to contact us for further problems.

Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Jun 04, 2014 3:49 am

Hello,

Thanks for your waiting.
The issue has been resolved. Welcome to download and test Spire.PDF Pack(Hot Fix) Version:3.0.43.
Downloading link:http://www.e-iceblue.com/Download/download-pdf-for-net-now.html

Best wishes,
Amy
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Dec 16, 2019 9:28 am

We are Spire.Office latest version and the issue still exists in that, can you please look into that

Jayadeep
 
Posts: 1
Joined: Thu Nov 21, 2019 9:04 am

Mon Dec 16, 2019 10:00 am

Hi,

Thanks for your inquiry.
After testing with the latest Spire.Office Platinum (DLL Only) Version:4.11.2, I didn't reproduce the issue. Please provide your input PDF and the code you were using for further investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF