View Single Post
Old 05-05-2014, 02:44
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4

In VBA, the document origin of (0,0) was always in the center of the page. And the lower left corner as you guessed is (-page_width/2, -page_height/2). Once you set Document.DrawingOriginX/Y, then all the rest of API calls will be relative that point. So maybe that's why you are confused. Since all the methods like Layer.CreateRectangle are normally relative to lower left corner of the page simply because the proper drawing origin is set beforehand...
Reply With Quote