DocumentBuilder

Hi,

I am working with DocumentBuilder (Aspose.Words for .net).
I have couple of questions:-

  1. I have a coversheet. The first thing I did was load the coversheet document stream into Aspose.Words document using new Document() command.
    After that…I created a document builder on the same Aspose.Words document and started adding html using DocumentBuilder.InsertHTML. But the inserted html is added at the top of the document instead of at the end after the coversheet. How can I add it at the end?

  2. Images:- as mentioned I am using DocumentBuilder.InsertHTML to insert data, if this html has images references (file references) in it, they are coming out broken. How do I address this without going thru each image and adding them using InsertImage command?

Thank you!!

Do you mean the document with a cover page or something else?

You can do this using builder.MoveToDocumentEnd() method;

Please, zip and upload your source documents (Docx, Html) and the source code that results in broken links. We will check the issue and provide you with additional information.