Article | 70002072 |
Type | Wish |
Product | Engine |
Version | 9002 |
Date Added | 10/1/2021 12:00:00 AM |
Fixed | 9.9003.0.1 (10/1/2021 12:00:00 AM) |
Submitted by | VectorDraw Team |
Summary
New CommandAction methods ChangeOrder and Purge
Solution
In version 9003.0.1 a new vdCommandAction CmdChangeOrder method was added
bool CmdChangeOrder(object entity, object ToBack)
Changes the position of a vdFigure object to the front or the end of the collection where it belongs.
entity : The vdFigure object.If it is null or "user" prompts the user to pick an entity
ToBack: If true moves the object to the beginning of the collection.If it is null or "user" prompts the user to select move to back or front
ReturnsT rue if the command was succesfull.
static commands ChangeOrderEx and Purge also added to be used as shortcuts to the menu.txt
Also new shortcuts ChangeOrder and Purge was added to the menu.txt
Purge command calls the vdDocument.Purge method