Last Updated:
23 Mar 2023 11:22
by Alvin
Add support for 'object-fit and object-position' to an image when exporting PDF using Drawing API
In our app we use the 'object-fit: scale-down; object-position: bottom right' style and apply it to an image in order to keep its ratio and put it as desired. However, applying 'object-fit' and 'object-position' is currently not supported when exporting images with the Drawing library. I would like to have these properties supported in order for the image to be displayed and styled in the exported PDF the same way as it is on the page.