Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Added four Four new methods can be used by 3rdparty applications to suppress real-time graphic area updates and to improve the document modification performance:

  • 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 Changes of the document’s database are included between calls of the Start and End transactions method callingmethods. All modification in graphic the graphics area will get are updated in one shot after calling of the EndTransaction() method.
AbortTransaction() method will be used to abort all the modification cancels all changes done inside the document database after calling of StartTransaction();
New COM sample project “UseOfTransaction” has been added into the ARES samplesis available along with existing ARES Commander examples.