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!
Query about RenderPageToDC |
Post Reply |
Author | |
ChrisA2107
Beginner Joined: 19 Nov 14 Location: London Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 09 Dec 14 at 4:28PM |
I am using this in .Net, creating a Bitmap, Graphics object and passing the DC for this to DARenderPageToDC, which all works fine.
To determine the size of the Bitmap to create, I was using DAGetPageWidth & DAGetPageHeight. However in some situations, this was resulting in the page being rendered to just part of this image leaving a thick black border on the bottom and right hand edges. After investigation, I have discovered that this is because one of the various other measurements CropBox, BleedBox, ArtBox, ... is being used for rendering the page and that for some images these are smaller than the actual page size. I am assuming that it is the CropBox, but am looking for confirmation, so if anyone knows for certain? Thanks
|
|
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