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

Free Support Forum - aspose.com

Question on the demos - where is layout defined?

Hi,

I am just starting with Word and loaded the demo into VS2005 and am running the sales invoice. It looks fine. After looking through the code for a while I am at a loss as to where the header image, tables and overall layout are defined. I searched through the code, and could not find this and I also looked for a template document but its not there. How is the layout defined on this demo? thanks.

Hi

Thank you for your interest in Aspose products. Layout of the report is defined in the template document.

//Open the template document

Document doc = new Document(System.IO.Path.Combine(DocPath, "SalesInvoiceDemo.doc"));

You can find the template file in the following folder.

C:\Program Files\Aspose\Aspose.Words\Demos\Common\Documents

I hope that this will help you.

Please let me know if you would like to know something else.

Best regards.