![]() |
|
#1
|
||||
|
||||
![]()
Hi.
I'm getting a crash with this code. Code:
Private Sub myExtractTest() Dim s As Shape, sNew As Shape Set s = ActiveShape Set sNew = s.Curve.SubPaths(1).Extract End Sub I'm also testing with code from help section and getting unexpected results. Code:
Sub helpExtractTest() Dim spath As SubPath Dim s As Shape, sExt As Shape Dim i As Long Set s = ActiveShape If s.Curve.SubPaths.count < 2 Then Exit Sub For i = s.Curve.SubPaths.count To 1 Step -1 Set spath = s.Curve.SubPaths(i) Set sExt = spath.Extract(s) sExt.Outline.Width = 0.01 sExt.Outline.Color = ActivePalette.Color(13 + i) Next i End Sub Any ideas? |
#3
|
||||
|
||||
![]()
Hi.
X5 -John |
![]() |
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 SubPath.AddNodeAt | SUNNY | CorelDRAW/Corel DESIGNER VBA | 1 | 21-08-2008 00:52 |
Imort Tif- X3 Crash | gperzel | General | 5 | 19-07-2006 08:44 |
crash | lizrathke | General | 1 | 18-05-2005 18:59 |
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 |