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

Free Support Forum - aspose.com

Create a word document with pre-defined layout

We want to understand how we can create a word document in Aspose.words with a predefined layout.
For eg: We want the entire document we are building to be in Font Times Roman, size 11 in blue font with the company logo on the top of the word document and a watermark in all pages. Also, we want to print some header and footer content. So, to achieve this, we want to create a layout template first and then create the document using this layout template.

Is it possible to achieve this using aspose.words DocumentBuilder?
It will be great if we can get a sample to do such implementation.


Thanks for your inquiry. Yes, you can achieve your requirement using Aspose.Words. Please refer to the following articles.
Inserting a String of Text
Inserting an Image
Working with Watermark

You can import your template document created my MS Word into Aspose.Words’ DOM, modify and add content to it according to your requirement. Please read following articles.
Use DocumentBuilder to Insert Document Elements
Using DocumentBuilder to Modify a Document Easily

If you still face problem, please ZIP and attach your template and expected output documents here for our reference. We will then provide you more information about your query.