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!
Unexpected rotation when DrawCapturedPage |
Post Reply |
Author | |
sko
Team Player Joined: 13 Feb 19 Status: Offline Points: 33 |
Post Options
Thanks(0)
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 |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
sko
Team Player Joined: 13 Feb 19 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
Hi Ingo,
thank you very much, it is so simple :-))) Now it works fine! Ciao
Stefan |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store