HPDFCMapLeaveDepthLimit

Restore the depth limit previously returned by HPDFCMapEnterDepthLimit on the calling thread

Declaration

procedure HPDFCMapLeaveDepthLimit(Previous: Integer);

Unit

HPDFCMapReader

Usage notes

Always restore within a finally block and unwind nested scopes in reverse order

The restored value may be zero, which denotes the default structural ceiling rather than a limit of zero parents

Other threads keep their own independent limit, and restoring this scope leaves entry limits and work callbacks untouched

See Native Cairo rendering for aggregate rendering budgets and cancellation