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!
Vector Graphics, What's the coordinate System? |
Post Reply |
Author | |
a235301
Beginner Joined: 29 Jun 13 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 29 Jun 13 at 11:18PM |
I have lines that I want to draw to pdf pages at specific coordinates. Can someone explain what coordinate system the parameters are for DrawLine? I can call Height and Width on the page but not sure if that gives me the same coordinate system as DrawLine uses. Does SetMeasurementUnits have any effect on either Page Width/Height and/or DrawLine? I am perplexed on how the coordinate system works with DrawLine.
TIA for the Help. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Please have an eye on SetMeasurementUnits and SetOrigin.
If there are functions which doesn't work with SetMeasurementUnits then you can read this in the descriptions. Here's the online reference: http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php Here's the developer guide: http://www.debenu.com/products/development/debenu-pdf-library/help/developer-guide/ Cheers and welcome here, Ingo |
|
a235301
Beginner Joined: 29 Jun 13 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thank you for the response. SetOrigin was my issue. I assumed all the coordinates started in the upper left of the page. However, that is not the default and you have to explicitly set it to the upper left.
|
|
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