How to copy an image from aspose word document and paste it in another word document using document builder or any other method?

How to copy an image from aspose word document and paste it into another word document using document builder or any other method?

@vineeth.pv You should use ImportNode method to import node from one document to another. To import shape, you can use code like this:

Document src = new Document(@"in.docx");
Document dst = new Document();
DocumentBuilder builder = new DocumentBuilder(dst);

// Get shape from srs document.
Shape shape = (Shape)src.GetChild(NodeType.Shape, 0, true);

// Import shape and insert it into the destination document.
Shape dstShape = (Shape)dst.ImportNode(shape, true);
builder.InsertNode(dstShape);

dst.Save(@"out.docx");