THotPDF.BeginGraphTransaction Method
Starts a copy-on-write savepoint for the loaded indirect-object graph
Declaration
procedure BeginGraphTransaction(const Name: AnsiString= '');
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Name | Optional diagnostic name for the savepoint |
Return value
This procedure does not return a value
Usage notes
- Starting a transaction indexes current indirect roots but does not copy them
- The first mutation of each indirect root creates one snapshot for the current savepoint
- Transactions may be nested and must be closed in last-in, first-out order