Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Unexpected rotation when DrawCapturedPage
  FAQ FAQ  Forum Search   Register Register  Login Login

Unexpected rotation when DrawCapturedPage

 Post Reply Post Reply
Author
Message
sko View Drop Down
Beginner
Beginner


Joined: 13 Feb 19
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Topic: Unexpected rotation when DrawCapturedPage
    Posted: 13 Feb 19 at 7:18AM
Hi,

i create PDF/A documents and there is a pdf file, which rotate from portrait to landscape when i DrawCapturedPage.

The page is always portrait, but the drawed captured page is strethed to landscape in this portrait mainpage!

If i look this PDF in Acrobat, all is fine, it is shown portrait..
I found in this file with Notepad++ following mediabox:

<</Contents 8 0 R/CropBox [ 0 0 842 596 ]/MediaBox [ 0 0 842 596 ]/Parent 1 0 R/Resources 7 0 R/Rotate 90/Type /Page>>

So Acrobat see width=842 and height=596 and also 90° rotation, it shows correctly, but when i DrawCapturedPage it is 90° rotated!

What can i do?
I use Debenu V1312

Ciao
Stefan


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 2872
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 13 Feb 19 at 7:39AM
Hi Stefan,

a NormalizePage will fix your issue:
https://www.debenu.com/docs/pdf_library_reference/NormalizePage.php
https://www.debenu.com/kb/use-normalizepage-resolve-issues-adding-text-pages-pdf-files/

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
sko View Drop Down
Beginner
Beginner


Joined: 13 Feb 19
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Posted: 13 Feb 19 at 8:16AM
Hi Ingo,

thank you very much, it is so simple :-)))

Now it works fine!

Ciao
Stefan
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 2872
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 13 Feb 19 at 8:22PM
using the rotation option means "rotate only when displaying".
This results in unexpected experiences when working on the pdf.
NormalizePage makes "what you see is what you get" with the pdf and as a result the settings inside matching to the behavior outside while showing.

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store