|
Rank: Newbie Groups: Member
Joined: 1/17/2018 Posts: 5
|
Hi,
I have a question regarding the Rotation property for the PdfPage. I noticed that if the PdfPage has a Rotation = 90 for example, when wanting to do something like this:
page.Size = new EO.Pdf.Drawing.PdfSize(PageSizes.A4Landscape.Width, PageSizes.A4Landscape.Height);
it will set the page width with the second parameter and the height with the first parameter.
I was wondering if this is the wanted behaviour and if we can skip this somehow.
Thank you!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
This is a bug on our side. Currently if you get PdfPage.Size, it will automatically adjust for rotation. However if you set PdfPage.Size, it will not. We will fix this in our next build.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
We have posted a new build that should fix this issue. Please download the new build from our download page and let us know how it goes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2018 Posts: 5
|
Hi,
The last build solved the problem.
Thank you!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Great. Thanks for confirming the fix!
|
|