Free Support Forum - aspose.com

How to replace image in pdf?

Hi ,Support:
Is there any method to replace image in pdf?
I Tried the demo code like this:
Editor.document.pages(index).Resoureces.Images.replace(0,Memory_Stream)
Editor.save(OutFile)

However, the image could not be replaced!
How to work it out?

@ducaisoft

Would you please share your sample PDF document with us. We will test the scenario in our environment and address it accordingly.