File & image insert

Hi

I am currently evaluating the product and need to be able to perform 3 distinct tasks essential to our application:

  1. Convert to PDF - works fine
  2. Insert image files into a word document. The documentation shows how to insert an external document into the current document but I cannot find any references to image files. Is this possible
  3. Search for place holders and replace with an external word document. The first part works OK, ie I can use the ‘Range.Replace’ method to search for a place holder of '||FILE=|| and have been experimenting with a ‘IReplacingCallback’ function to handle the replacement but am not sure if it could actually replace the search text with a complete document.

I would be grateful if you could confirm or deny if items 2 and 3 are possible

Regards
Steve Chissell

This message was posted using Page2Forum from Aspose.Words for .NET - Documentation

Hi
Thanks for your request.

  1. Sure, you can easily insert images into your documents using Aspose.Words. please follow the link for more information:
    https://reference.aspose.com/words/net/aspose.words/documentbuilder/insertimage/
  2. You can use the method provided in the following article t insert one document into another:
    https://docs.aspose.com/words/java/insert-and-append-documents/
    Hope this helps. Please let us know if you need more assistance, we are always glad to help you.

Best regards,