Print Page | Close Window

Vector Graphics, What's the coordinate System?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2680
Printed Date: 22 Nov 24 at 2:13PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Vector Graphics, What's the coordinate System?
Posted By: a235301
Subject: Vector Graphics, What's the coordinate System?
Date 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.



Replies:
Posted By: Ingo
Date Posted: 30 Jun 13 at 4:21PM
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



Posted By: a235301
Date Posted: 30 Jun 13 at 7:35PM
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk