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!
Proper page size |
Post Reply |
Author | |
yli
Beginner Joined: 31 Oct 14 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 31 Oct 14 at 3:44PM |
Hi! Some code------------------------------------------------------------------- DPL.LoadFromFile(Temp & o.FileName, "") Dim numPages As Integer = DPL.PageCount() DPL.SetMeasurementUnits(1) For p As Integer = 1 To numPages DPL.SelectPage(p) Dim H = DPL.PageHeight() Dim W = DPL.PageWidth() Dim H1 As String = Math.Round(H) Dim W1 As String = Math.Round(W) ---------------------------------------------------------------------------- I get full page size, but how to get proper page size without bleed and(or) slug?
|
|
yli
Beginner Joined: 31 Oct 14 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
decision found !!! ------------------------ Dim WP = DPL.GetPageBox(5, 2) Dim HP = DPL.GetPageBox(5, 3) --------------------------------------
|
|
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