Is there a scaling property for Inserting from one Document to another?

Hi:
I have some images in one document and upon inserting it to a cell (set with a certain width) of a table of another document … the images are bigger than the set width of the cell. Is there way to set the format so that if an image is larger than the width of the current document to automatically have it re-sized or if not automatically if we can set the size?
Thank you in advanced for your help.

Hi

Thanks for your request. There is no such setting, but you can calculate an image size to fit the container. You can find a code example here:
https://forum.aspose.com/t/111719
See the CalculateImageSize method.
Hope this helps.
Best regards.