Hi,
I am trying to merge 2 documents. First is the original document and second is the processed document. The second processed document content is wrapped in a bookmark.
Visually something like below -
- First Document Content
documentbuilder.MoveToDocumentEnd();
documentbuilder.InsertBreak(BrakType.PageBreak)
documentbuilder.StartBookmark("ProcessedDocumentBookmark")
documentbuilder.InsertDocument(ProcessedDocument)
documentbuilder.EndBookmark("ProcessedDocumentBookmark")
Could you please let me know how i can wrap the ProcessedDocumentBookmark into a Paragraph Node. It should be in order like below -
- First Document Content
documentbuilder.MoveToDocumentEnd();
documentbuilder.InsertBreak(BrakType.PageBreak)
- Insert Paragraph Start tag
documentbuilder.StartBookmark("ProcessedDocumentBookmark")
documentbuilder.InsertDocument(ProcessedDocument)
documentbuilder.EndBookmark("ProcessedDocumentBookmark")
- Insert Paragraph End tag so that 5,6,7 is wrapped entirely in a parent paragraph tag.
Thanks.