Welcome Guest Search | Active Topics | Sign In | Register

Question about PDF rotation Options
Alex N
Posted: Friday, July 13, 2018 12:18:18 PM
Rank: Newbie
Groups: Member

Joined: 7/13/2018
Posts: 1
Hello, I am having issues getting a desired behavior while using EO.Pdf.

My project's goal is to place text underneath the original PDF content. Currently I have no problems achieving this, but the position of the text is rotated -90 degrees relative to my document's orientation. When I open the document in a viewer, the document is displayed portrait and upright, but when I process the document, it has a rotation of 270.

I looked into attempting to counteract the page rotation a couple of ways, but the results were that the document would display in landscape, with the text still rotated relative to the actual contents, or the content of the page would be rotated, but the page itself would not rotate, causing content to be cut off from the side of the page. Rotating via PdfMatrix object only seems to affect the content already in the page, without having an effect on the page orientation itself.

Is there any way to rotate the contents along with the page itself using EO.Pdf?
eo_support
Posted: Friday, July 13, 2018 5:38:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

What version of EO.Pdf do you use? There is a rotation setting in the PDF and when it's set, it can cause this effects. Our early versions does not do anything special for this case and would result in rotated text since the rotation setting would apply to the text we added as well. However newer version should automatically counter rotate the text we added thus should work correctly regardless rotation settings. So please try the latest build first.

If you still have problems with the latest build, please create a small test project and send us the test project. See here for more details on submitting test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Once we have that we will look into it as soon as possible.

Thanks!


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.