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.

Tue Aug 02, 2016 8:23 pm

I have an empty document - call it Document A. I copy the contents from another document into Document A. I want to create a page break at the end of document A. How do I do this?

druchti
 
Posts: 8
Joined: Tue Aug 02, 2016 12:47 pm

Wed Aug 03, 2016 2:35 am

Dear druchti,

Thanks for your inquiry. Here is the code to add a page break at the end of document. Wish it can help you!
Code: Select all
 document.LastParagraph.AppendBreak(BreakType.PageBreak);


Best wishes
Lucy
E-iceblue support team
User avatar

Lucy
 
Posts: 30
Joined: Wed Aug 03, 2016 1:59 am

Fri Aug 05, 2016 8:58 am

Hi druchti,

Has your issue been resolved now? Could you please give us some feedback at your convenience.

Thanks,
Lucy
E-iceblue support team
User avatar

Lucy
 
Posts: 30
Joined: Wed Aug 03, 2016 1:59 am

Fri Aug 05, 2016 12:58 pm

Thank you. The issue has been fixed

druchti
 
Posts: 8
Joined: Tue Aug 02, 2016 12:47 pm

Mon Aug 08, 2016 3:58 am

Hello druchti,

Thanks for your reply. Please feel free to contact us if you have any questions and requests!

Best wishes,
Lucy
E-iceblue support team
User avatar

Lucy
 
Posts: 30
Joined: Wed Aug 03, 2016 1:59 am

Return to Spire.Doc