on 11-24-2014 9:20 AM
Hello,
is there any possibility to adjust the order of table symbol on the diagram by vbscript? I used scripting to create new table, to attach a new symbol to that table, but I haven`t found any way, how to put the table symbol under the symbol of other table. My new symbol should be partially overlaped by other table symbol.
In fact, I`m trying to find the Order - Send to backward function from the context menu of table symbol on the diagram.
Can someone help?
Thank you,
Ondre
Hello Ondreij
You get z Order by the order in the collection:
Symbols As ObjectCol | Ordered composition collection of Base Symbol (BaseSymbol). This collection owns all symbols displayed in current diagram. The order of symbols in this collection is the depth order: the last object in the collection appears in front of all others. |
Symbols in Diagrams is an Orderd collection you can move symbols with the move function.
Such collections support the following additional properties and methods:
ObjectCol member: | Usage: |
---|---|
Insert(idx As Long = -1, obj As BaseObject) | Inserts objects in collection. If no index is provided, the index -1 is used wich means the object is simply added as the last object of the collection. |
RemoveAt(idx As Long = -1, delete As Boolean = False) | Removes object at given index from collection. If no index is provided the index -1 is used wich means the removed object is the last object in collection (if any). Optionally delete the object. |
Move(dest As Long, source As Long) | Moves object from source index to destination index. |
CreateNewAt( idx As Long = -1, kind As Long = 0) As BaseObject | Creates an object of a given kind, and inserts it at given position. If no index is provided the index -1 is used wich means the object is simply added as the last object of the collection. If no object kind is specified the value 0 is used wich means that the Kind property will be used. See below the restrictions on using this method. |
HTH
dj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.