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

Free Support Forum - aspose.com

How can Insert front cover-this cover already in word template

how can Insert cover,this cover already in word template,I can not find InserCover fuction?


Thanks for your inquiry. There is no such method in Aspose.Words API. You can insert a cover page at the beginning of a Word document, you can achieve this by using following approach.

First load your Word document into Aspose.Words’ DOM, move the cursor to the beginning of Document using DocumentBuilder class as described here, write some contents by using DocumentBuilder.Write method or insert the image using DocumentBuilder.InsertImage method and finally insert a Page Break using DocumentBuilder.InsertBreak Method.

Hope this answers your query. Please let us know if you have any more queries.