Welcome Guest Search | Active Topics | Sign In | Register

PdfPage - Rotation property - Question Options
Andreea
Posted: Wednesday, January 17, 2018 4:34:51 AM
Rank: Newbie
Groups: Member

Joined: 1/16/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!
eo_support
Posted: Wednesday, January 17, 2018 5:21:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,508
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!
eo_support
Posted: Thursday, January 25, 2018 6:33:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,508
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!
Andreea
Posted: Monday, February 5, 2018 5:26:17 AM
Rank: Newbie
Groups: Member

Joined: 1/16/2018
Posts: 5
Hi,

The last build solved the problem.

Thank you!
eo_support
Posted: Monday, February 5, 2018 7:07:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,508
Great. Thanks for confirming the fix!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.