OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 24-09-2008, 19:01
Posts: n/a
Exclamation About AddNodeAt 0.5, cdrParamSegmentOffset

The Code can not work in CorelDraw 12,Is this a BUG?
Sub test()
ActiveShape.Curve.SubPaths(1).AddNodeAt 0.5, cdrParamSegmentOffset
End Sub


Run-time error '-2147024809 (80070057)':
Type is out of range, its value must be between 0 and 1.
Reply With Quote
Old 24-09-2008, 21:07
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Try...

Try this...
ActiveShape.Curve.SubPaths(1).AddNodeAt 0.5, cdrRelativeSegmentOffset
Hopefully it helps,

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About SubPath.AddNodeAt SUNNY CorelDRAW/Corel DESIGNER VBA 1 21-08-2008 00:52

All times are GMT -5. The time now is 10:30.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com