Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Tue Nov 15, 2011 12:21 am

I have a Word document that I am performing a mail merge with SQL data. Depending upon the value of one of the data items from the database, I need to omit a page from the template document into the final output document. What is the best way to go about deleting a page?

Posts: 1
Joined: Fri Nov 11, 2011 5:44 pm

Tue Nov 15, 2011 5:12 am

Hello stratix,

Thank you for your inquiry.

I am sorry for that there is without the concept of page in MS Word. MS word according the content to divide page automatically. We can't get specific page. What we can do is to delete the content of the document.

Sorry for the inconvenience caused by us.
Have a nice day.
Technical Support/Developer,
e-iceblue Support Team
User avatar

Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Return to Spire.Doc