Hi,
I would like to know whether it is possible to identify the info/Data is written in a new page or not. my requirement is: i have to create a word doc, where certain topics have to start only in a new page. Please let me know whether it is possible.
Thanks,
Ramprasad
Generally, page layout information is not stored in the document binary. The layout of pages is done by MS Word when opening the document. Aspose.Words does not have pagination engine yet and cannot tell you on what page the particular data will be when the document is rendered.
But forced page breaks (the ones inserted by Insert | Break menu command in MS Words) are stored in the document structure. And Aspose.Words is able to create and manipulate them. So you if you want to write some text and ensure that it is in the beginning of the new page - use DocumentBuilder.InsertBreak method.
Hope this helps,
Thanks for the info. will try it out.
Ramprasad