![]() |
#1
|
|||
|
|||
![]()
Hi I have been trying to set the origin of a document being created in Draw X6 using the VBA commands
DrawingOriginX = 0 DrawingOriginY = 0 but this dosent seem to be doing anything Is there a way of setting the rulers origin in VBA or saving a default setting so that new docs use a particular origin? Thanks nic |
#3
|
|||
|
|||
![]()
Hi Alex
sorry for the delay in replying. I managed to lose my GMS file upgrading to Win8 so no longer have the original but have just tried to recreate it and seem to have made some progress although still not understanding how the origin is calculated. On a page 100mm square I thought Coreldraw X6 would by default use the bottom left corner of a page as the origin so that the commands - Code:
ActiveDocument.DrawingOriginX = 0 ActiveDocument.DrawingOriginY = 0 Code:
ActiveDocument.Unit = cdrMillimeter 'Set Corel to work in Millimeters ActiveDocument.DrawingOriginX = 50 ActiveDocument.DrawingOriginY = 50 Can now make it work but dont understand why it works that way. Any help appreciated, nic |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Draw 12 Setting guides exactly | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 2 | 04-11-2009 22:18 |
Crops marks Setting in Corel Draw X3 | ubrbilly | General | 1 | 17-04-2009 08:06 |
Change Import setting | Wynprice | General | 4 | 07-10-2007 11:52 |
Setting Printable Layers | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 2 | 13-04-2006 08:38 |
Setting Outline Color | AC | CorelDRAW/Corel DESIGNER VBA | 1 | 18-03-2003 18:33 |