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

Free Support Forum - aspose.com

How to set the image aspect ratio being locked in default in Aspose.words

Hi Team,

We are using licence version of Aspose.Word.dll and Aspose.Pdf.dll in one of our application to generate .docx reports and the pdf version of the same.

We have one functionality to add Dynamic images during the Word document generation time.
And there we are trying to set the Aspect ratio to be locked for the inserted images.

However we are not able to set the Aspect ratio of the images dynamically.

Could you please help us on implementing the functionality.


Hi Sangeeta,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we logged this feature request as WORDSNET-9358 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.