Rank: Newbie Groups: Member
Joined: 12/8/2025 Posts: 2
|
Since upgrading to 2025.2.64 the RenderAsPDF is rendering the page in US Letter size. This is despite setting the HtmlToPdfOptions PageSize to the size that we require which is A5 (5.84x8.26). We have isolated the change to the upgrade from 2025.2.36 to 2025.2.64
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,440
|
Hi,
Version 2025.2.64 will uses the page size specified by the @page CSS directive in the HTML page if one exists and if your conversion mode is set to Integrated. If conversion mode is not Integrated (Classic), then it will only use @page CSS directive if UsePrintMedia is true and PageSizes is not set.
We will change the behavior in Integrated mode to match the behavior in Classic mode in term of PageSizes so that you will always be able to override @page CSS style with PageSizes in both mode. We will reply here again when the new build is available.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 12/8/2025 Posts: 2
|
Thanks for the quick response. We are using the @page directive going forward but would be useful to have the override in a future release as suggested.
|