How to set an option to auto resize for an image for Aspose Slides

Hello There,

How can i configure my template or do a code that if image having a scale of 2330 by 1036 and shape having a scale of 457 by 203(in .pptx Template) it’ll get automatically fit into that shape. Is there any way to achieve this?

Thanks & Regards

@sdtechsupport.sirius,

I have observed the requirements shared by you and like to share that there is no option to auto resize image inside presentation. You need to set the dimension your self to adjust image inside shape and it is in user control.