GetWebCaptureCommandCount

Document structure

Description

Returns the number of ISO Web Capture command entries in the selected document's catalog /SpiderInfo /C array

Syntax

Delphi

Function GetWebCaptureCommandCount: Integer;

Return values

0No usable command array is available or the array is empty
NThe number of command entries

Failure behavior

The function does not raise an error for missing or malformed /SpiderInfo metadata and returns 0 instead

Remarks

The result defines the valid 1-based index range for GetWebCaptureCommand. This API only inspects ISO Web Capture command metadata and performs no network access

See also

GetWebCaptureCommand, AddWebCaptureCommand, ClearWebCaptureCommands, TPDFlibWebCaptureCommand