Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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 applications to suppress real-time graphic area updates and to improve the document modification performance.
Changes of the document’s database are included between calls of the Start and End transactions methods. All modification in the graphics area are updated after calling the EndTransaction() method.
AbortTransaction() method cancels all changes done inside the document database after calling StartTransaction();
New COM sample project “UseOfTransaction” is available along with existing ARES samples.

  • No labels