Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
Good morning, If we define a customised screen resize on Windows at 135% when exporting the image of a page in jpg format with: oImage = GetPageImage(PageNumber - 1, Resolution) oImage.Save(DestFileName, System.Drawing.Imaging.ImageFormat.Jpeg) the exported image is correct. If instead we use Render.RenderAsEMF(PageIndex - 1, DPI) it adds a margin to the right and bottom of the image. How come? Are we doing something wrong?
|
Rank: Member Groups: Member
Joined: 11/8/2021 Posts: 21
|
Need further information?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We are still looking into this. We will reply here again if we need any additional information.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, Please try to enable high DPI aware in your application and see if it correct the problem for you. Please see this thread for sample code: https://www.essentialobjects.com/forum/postst11391_PageImages-are-blurry.aspxWe will work on our end to automatically adjust based on whether high DPI aware is enabled so that such code would not be necessary in future build. Thanks!
|