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

Free Support Forum - aspose.com

Find text and insert multiple RTF documents into document using .NET

could you give me the sample code for inserting more than one RTF document to another document(.docx).


I mean one RTF document should replace one particular text and another RTF document should replace another different text, etc into a single document by using ReplaceEvaluator interface.

Please do the needfull.

Thanks,

Thamizh

Hi Thamizh,

Thanks for your query. You can achieve your requirement by following the steps mentioned below.

  1. Insert Mail Merge fields into your source document where you want to insert document.
  2. Use MoveTo(merge filed name) method.
  3. Call Insertdocument() method to insert the document.
It would be great, If you please share why you want to use IReplacingCallback. Please also share your source document so that we have exact idea about your query.