Added four new methods:
StartTransaction(): Starts a new transaction of this document.
HRESULT StartTransaction();EndTransaction(): Ends the current transaction associated with this document.
HRESULT EndTransaction();AbortTransaction(): Aborts the current transaction associated with this document.
HRESULT AbortTransaction();NumActiveTransactions(): Returns the number of active transactions associated with this document.
HRESULT NumActiveTransactions( [ out, retval ] int* pTransaction );
These methods can be used by 3rdparty application to suppress real-time graphic area updates and to improve the document modification performance.
For this document’s database modification work should be done in between Start and End transactions method calling. All modification in graphic area will get updated in one shot after calling of EndTransaction() method.
AbortTransaction() method will be used to abort all the modification done inside document database after calling of StartTransaction();
New COM sample project “UseOfTransaction” has been added into the ARES samples.