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 19-02-2010, 04:43
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 154
Default can anyone explain about tree node

can anyone explain about tree node, preferably with example
Reply With Quote
  #2  
Old 19-02-2010, 22:00
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

..good question.
I see no documentation on this.

...anyone?
Reply With Quote
  #3  
Old 20-02-2010, 01:43
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,770
Blog Entries: 10
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 TreeNode

You can use TreeNode to do several things, and it really speeds things up. A simple example of copying the active shape to page 2.
Code:
Sub CopyToPage2()
    With ActiveShape.TreeNode.GetCopy
        .UnLink
        .LinkAsChildOf ActiveDocument.Pages(2).ActiveLayer.TreeNode
    End With
End Sub
Want to get more advanced try playing with VirtualShape, Alex uses them here to make a RectangeFixer: Alex's Rectangle Fixer

Or Os (wOxxOm) uses it to replace shapes: Os's Shape Replacer

Best of luck,

-Shelby
Reply With Quote
  #4  
Old 20-02-2010, 13:07
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Smile

Those are some really nice examples to look over.
Thanks.
-John
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
add node problem joyJOYJOY CorelDRAW/Corel DESIGNER VBA 3 21-03-2011 19:12
How to add a node to the curve? AVP CorelDRAW/Corel DESIGNER VBA 1 14-05-2009 14:25
How to delete node? Feidias CorelDRAW/Corel DESIGNER VBA 1 27-05-2008 03:03
add node besides other nodes joyJOYJOY CorelDRAW/Corel DESIGNER VBA 0 16-09-2007 09:53
Change first Node drg CorelDRAW/Corel DESIGNER VBA 1 10-10-2004 09:56


All times are GMT -5. The time now is 07:23.


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