AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
UndoTransaction (Document doc) | |
UndoTransaction (Element element) | |
boolean | Start (String name) |
boolean | Abort () |
boolean | Commit (EnumTransactionAction action) |
boolean | Commit () |
<> 事务管理
UndoTransaction.UndoTransaction | ( | Document | doc | ) |
构造事务
doc | 文档对象 |
boolean UndoTransaction.Abort | ( | ) |
放弃所作的修改
boolean UndoTransaction.Commit | ( | ) |
提交事务
boolean UndoTransaction.Commit | ( | EnumTransactionAction | action | ) |
提交事务
boolean UndoTransaction.Start | ( | String | name | ) |
开始事务
name | 名称 |