ClearWebCaptureCommands
Document structure
Description
Removes the selected document's catalog /SpiderInfo entry and its ISO Web Capture command metadata
Syntax
Delphi
Function ClearWebCaptureCommands: Integer;Return values
| 0 | No valid command array was counted before removal |
|---|---|
| N | The number of command entries present before removal |
Failure behaviour
Returns 0 when no document or catalog is available, when /SpiderInfo is absent, or when its command array is unavailable. If a catalog /SpiderInfo entry exists, it is removed even when it is malformed or contains no valid command array
Remarks
The function removes the entire /SpiderInfo catalog entry rather than clearing only its /C array. It changes metadata only and performs no network operation
See also
AddWebCaptureCommand, GetWebCaptureCommandCount, GetWebCaptureCommand