We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

XPS to PDF conversion loosing image size

Hi,
I am using the XPS to PDF conversion, the header image looks fine in WPF as well as looking at the xps document seperately. Once the PDF conversion is done it loses it's scaling. and is cropped at the image (scale size) edges.

Any ideas how to fix this?

4 Replies

SL Sowmiya Loganathan Syncfusion Team January 28, 2020 11:55 AM UTC

Hi Damien, 

Thank you for contacting Syncfusion.  

We have tried to reproduce the reported issue “Scaling and cropping issue while converting XPS to PDF”, but we regret to let you know that we were unable to reproduce it. Could you please share us the below details to replicate the issue, it will helpful for us to provide the precise solution on this.  

  • Input XPS file
  • Complete code snippet or sample
  • Product version
  • Environment details like OS, Display scaling and resolution
  • Issue details with screenshot

Regards, 
Sowmiya Loganathan 



DH Damien Holley February 9, 2020 10:55 PM UTC

Hi Sowmiya,
OS: Win10
Display: 2k monitors + 125%
SF Version : 17.2460.0.46

The file views, please note that the image in the pdf file appears like it's being cropped to the total space of the logo in the xaml file:
XPS FILE