CancelDeferredPageLayers
Page layout, Vector graphics, Content streams
Description
Discards the active recording and every completed deferred layer in the current queue without changing the target page content
Syntax
Delphi
Function TPDFlib.CancelDeferredPageLayers: Integer;ActiveX
Function PDFlib::CancelDeferredPageLayers() As LongDLL
int DLCancelDeferredPageLayers(int InstanceID);Return values
Returns the number of active and completed layers discarded, or 0 when the queue was empty
Remarks
An active temporary recording page is hidden before the queue state is cleared
Captured objects from already completed layers remain internal document objects but are not referenced by page content