![]() |
#1
|
|||
|
|||
![]()
Corel Photo-Paint X7
When I use: Set Hulplijn = ActiveDocument.CreateGuide(1, 20, 30) as "horizontal" guideline it works but Set Hulplijn = ActiveDocument.CreateGuide(0, 20, 30) as "vertical" guideline I receive an error?? Thanks |
#2
|
||||
|
||||
![]()
I have confirmed this is broken in X7, I will get it logged as a defect. As a workaround you may still use the old CorelScript calls:
Format is as follows: GuidelineAdd(FirstPtX As Long, FirstPtY As Long, SecondPtX As Long, SecondPtY As Long, Angle As Long, Type As Long) So Something like this should give you a vertical and horizontal guide: CorelScript.GuidelineAdd 0, 431, 0, 503, 0, 1 CorelScript.GuidelineAdd 72, 431, 360, 431, 0, 2 Hope that helps, -Shelby |
![]() |
Tags |
createguide |
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 |
RunMacro in the ActiveDocument | pafi | Macros/Add-ons | 1 | 25-01-2010 09:45 |
Using ActiveDocument.SaveAs (c#) | dlpfis | CorelDRAW/Corel DESIGNER VBA | 2 | 28-07-2009 08:39 |
How to Get a ActiveDocument Unit .... | 3dvr | CorelDRAW/Corel DESIGNER VBA | 1 | 27-10-2008 11:11 |
Help with ActiveDocument.PublishToPDF | pbisson | Corel Photo-Paint VBA | 5 | 03-01-2007 20:37 |
Help with ActiveDocument.PublishToPDF | pbisson | Macros/Add-ons | 0 | 15-12-2006 16:27 |