Free Support Forum - aspose.com

Insert a document at a specific location

how can i insert a document at a specific location using documentBuilder

I have used
builder.insertDocument(newDocument, ImportFormatMode.KEEP_SOURCE_FORMATTING);
but it is inserting the newDocument at top
but i want that on a specific location

@khushboomehta

Thanks for your inquiry. You need to move the cursor to the desired location and then insert the document using DocumentBuilder.insertDocument method.