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!
![]() |
Is Origin per-page or per-document? |
Post Reply ![]() |
Author | |
cscooper ![]() Beginner ![]() ![]() Joined: 06 Apr 12 Location: Boulder, CO Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() Posted: 13 Apr 12 at 6:12PM |
When I call SetOrigin(), what is the scope of the change - am I changing the origin for the current stream, the current page, or the entire document?
Thanks, Chris |
|
![]() |
|
fargburger ![]() Beginner ![]() Joined: 03 Apr 12 Location: Wisconsin Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
I'm using it in Delphi XE2 and setting it once per document.
|
|
![]() |
|
edvoigt ![]() Senior Member ![]() ![]() Joined: 26 Mar 11 Location: Berlin, Germany Status: Offline Points: 111 |
![]() ![]() ![]() ![]() ![]() |
Hi,
the reference guide says: "Sets the origin for all subsequent drawing operations." Beware: There is nothing written about pages. Setorigin has no effects for content, which is made before this setting, independed how did make it. It gives QP only an advise, how are coordinates in following function calls to be interpreted. And so it is valid over page boundaries, until you set the origin new. In the background has QP much more to do. If you are interested to understand what, look at "4.2.3 Transformation Matrices" in Adobes PDF-Spec. Werner Edited by edvoigt - 14 Apr 12 at 4:52PM |
|
![]() |
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