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!
false placement on DrawBarcode |
Post Reply |
Author | |
Karsten
Beginner Joined: 27 Apr 09 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 30 Jun 17 at 8:45PM |
Hi,
I used the same code for place an barcode on pdf, but the result is not the same. On one pdf the barcode is placed on the wrong position and with the wrong size. Where is my mistake? Here is the code: PDFLibrary mqp = new PDFLibrary(@"DebenuPDFLibrary64DLL1311.dll"); mqp.UnlockKey(qplicense); mqp.SetMeasurementUnits(1); mqp.SetOrigin(1); mqp.SetPDFAMode(2); mqp.DrawBarcode(x - 15 , y - 6, 30, 15, "00154237", 5, 0); mqp.SaveToFile("temp.pdf"); The only different that I can find is, one pdf is 1.3 and the second is 1.4. Regards Karsten |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Karsten,
one pdf will be rotated and the other one will not. You put the barcode at a special place and then the internal rotation works before showing the pdf. http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php |
|
Cheers,
Ingo |
|
Karsten
Beginner Joined: 27 Apr 09 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi Ingo,
PageRotation(); get the same value for both documents Karsten |
|
Karsten
Beginner Joined: 27 Apr 09 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi Ingo,
the solution mqp.NormalizePage(0); Karsten |
|
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