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!
![]() |
PageHeight, PageWidth return incorrect values |
Post Reply ![]() |
Author | |
thieu ![]() Beginner ![]() Joined: 02 Jun 14 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 02 Jun 14 at 9:33AM |
Hello,
I have a PDF document which is formatted in non-standard size (480x384 for each page). When the document is loaded with QuickPDF, PageWidth and PageHeight return incorrect values: 792 for height and 612 for width. My application has to deal with PDF documents in various size but this is the first time this issue happen. Would anybody please help me with this issue? Thank you. |
|
![]() |
|
tfrost ![]() Senior Member ![]() Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
![]() ![]() ![]() ![]() ![]() |
What do the HasPageBox and GetPageBox functions reveal to you? The Media box or Crop box can cause the apparent page size (when viewed or printed) to be smaller than the PageWidth and PageHeight.
|
|
![]() |
|
thieu ![]() Beginner ![]() Joined: 02 Jun 14 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thank you tfrost. GetPageBox with CropBox option returns correct value.
|
|
![]() |
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