ImageInline Image.LockAspectRatio not working after word export

1 Answer 94 Views
WordsProcessing
chrbra
Top achievements
Rank 1
chrbra asked on 31 May 2022, 02:27 PM

Hi Telerik team,

I try to add an image to my document using the following lines:

var imageInline = result.Runs.First().Paragraph.Inlines.AddImageInline();
imageInline.Image.LockAspectRatio = true;

After exporting the document to word the setting doesn't have any effect. The checkbox in word for locking the aspect ratio isn't checked.

 

Is there something I am missing?

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 01 Jun 2022, 07:54 AM

Hi Christian,

I was able to reproduce the observed issue. I have logged it on our feedback portal. You can track its progress, subscribe to status changes, and add your comment to it here:WordsPrpcessing: The LockAspectRatio property of the ImageInline does not work after export to Docx. I have updated your Telerik points. 

I am afraid I cannot suggest a workaround for this issue.

I want to apologize for the inconvenience this missing functionality is causing you.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
WordsProcessing
Asked by
chrbra
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or