OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15-07-2009, 09:04
3dvr 3dvr is offline
Junior Member
 
Join Date: Oct 2008
Posts: 8
Thumbs down How to get a ControlPath ?

How to be obtained ControlPath by "cdrArtisticMediaGroupShape" ?
Reply With Quote
  #2  
Old 16-07-2009, 01:32
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,778
Blog Entries: 11
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 ControlPath

The control curve should be the second shape in the shaperange. So here is an example that moves the first node of the control curve.
Code:
Sub TestingArtisticMedia()
    Dim srSelection As ShapeRange
    Dim sControlCurve As Shape
    
    If ActiveShape.Type = cdrArtisticMediaGroupShape Then
        Set srSelection = ActiveSelectionRange
        Set sControlCurve = srSelection(2)
    
        sControlCurve.Curve.Nodes.First.Move 1, 1
    End If
End Sub
Best of luck,

-Shelby
Reply With Quote
  #3  
Old 16-07-2009, 02:19
3dvr 3dvr is offline
Junior Member
 
Join Date: Oct 2008
Posts: 8
Default

Thank Shelbym .
I know that can receive the result with MoveToLayer or AddToPowerClip .....
But can not be obtained in stratum's form ?
Attached Images
 

Last edited by 3dvr; 16-07-2009 at 05:23.
Reply With Quote
  #4  
Old 16-07-2009, 02:44
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,778
Blog Entries: 11
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 stratum's form

stratum's form?? What is this?

-Shelby
Reply With Quote
Reply


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


All times are GMT -5. The time now is 19:01.


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