PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
PdfSharp6 - XpsConverter with PageOrientation & PageSize https://forum.pdfsharp.net/viewtopic.php?f=2&t=4562 |
Page 1 of 1 |
Author: | amy_reapit [ Fri Mar 15, 2024 5:30 pm ] | ||
Post subject: | PdfSharp6 - XpsConverter with PageOrientation & PageSize | ||
We have recently upgraded to PdfSharp6 in C# and WPF. In the previous version, we were able to pass page orientation, page size and max image DPI into the XpsConverter.Convert method; that would then get passed to PdfRenderer.CreatePage. In PdfSharp 6.0 these parameters aren't available. Is there are workaround for this?
|
Author: | Thomas Hoevel [ Thu Mar 21, 2024 5:13 pm ] |
Post subject: | Re: PdfSharp6 - XpsConverter with PageOrientation & PageSize |
amy_reapit wrote: In PdfSharp 6.0 these parameters aren't available. There's no error on your screen shot.It's unclear which versions you are using. |
Author: | amy_reapit [ Wed Apr 03, 2024 9:42 am ] | |||
Post subject: | Re: PdfSharp6 - XpsConverter with PageOrientation & PageSize | |||
Thanks for your reply Thomas! The screenshot above is from the old version of PdfSharp; I've attached below a screenshot of the version numbers, and of the definition of the method in the new version. As you can see, I've expanded the dropdown so that all definitions are visible; there are none which take PageOrientation or PageSize.
|
Author: | Thomas Hoevel [ Wed Apr 03, 2024 10:53 am ] |
Post subject: | Re: PdfSharp6 - XpsConverter with PageOrientation & PageSize |
The package with version 1.0.2 is not from us. Contact the author of that package. |
Author: | amy_reapit [ Wed Apr 03, 2024 1:46 pm ] |
Post subject: | Re: PdfSharp6 - XpsConverter with PageOrientation & PageSize |
Many thanks Thomas, I'll pick that up. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |