We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Diferent page configuration

I have to build one document that have this configuration


fisr i will write some text in the document in the portait format with two coluns ( this text comes from other word documents, but i have already solved how to do this part), then i will write more text to this document but now i wish to change the page orientation, to landscape and change to one colun layout then write the text.

The problem is that when i try to do that when i change the page orientation or the number of coluns this proprietes are changed in the whole documento and not only to the pages that i will write.

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. MS Word document is flow document and does not contain any information about its layout into lines and pages. In your case, I think you should use sections, one section for the first page and second for other. Each section has its own formatting, so you can specify page orientation for each section.

Bet regards,

how can i add a new sextion to the document?

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Please see the following link to learn how to work with sections:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/working-with-sections.html

Hope this helps.

Best regards,

thx for the help it is working now.