ClearAPIScopeReport
Diagnostics, document editing
Description
Clears retained API scope violation events and resets their sequence counter without changing active scopes or page content
Syntax
Delphi
Function TPDFlib.ClearAPIScopeReport: Integer;ActiveX
Function PDFlib::ClearAPIScopeReport() As LongDLL
int DLClearAPIScopeReport(int InstanceID);Return values
| 1 | The retained report was cleared |
|---|---|
| 0 | The DLL instance handle is invalid |
Remarks
An open path, marked-content sequence, graphics-state save, page update, form XObject, or tiling pattern remains active after this call and must still be closed through its matching API