![]() |
#1
|
|||
|
|||
![]()
The Code can not work in CorelDraw 12
'======================================================= Sub ca2() For i = 0.9 To 0.1 Step -0.1 ActiveShape.Curve.SubPaths(1).AddNodeAt i, cdrRelativeSegmentOffset Next End Sub '======================================================= err: --------------------------- Run-time error '-2147024809 (80070057)': Type is out of range, its value must be between 0 and 1. --------------------------- ↓↓↓↓↓↓↓↓↓↓↓works fine. '========================================= Sub ca() For i = 0.9 To 0.1 Step -0.1 ActiveShape.Curve.SubPaths(1).AddNodeAt i, cdrAbsoluteSegmentOffset Next End Sub '============= Sub ca2() For i = 0.9 To 0.1 Step -0.1 ActiveShape.Curve.SubPaths(1).AddNodeAt i, cdrRelativeSegmentOffset Next End Sub '========================================= |
Tags |
addnodeat |
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 |
About AddNodeAt 0.5, cdrParamSegmentOffset | SUNNY | CorelDRAW/Corel DESIGNER VBA | 1 | 24-09-2008 21:07 |
subpath numbering | lkoky | CorelDRAW/Corel DESIGNER VBA | 2 | 02-11-2004 02:37 |
Select all nodes if the subpath | d-signer | CorelDRAW/Corel DESIGNER VBA | 2 | 12-05-2004 23:47 |