TPDFlibWebCaptureCommand
Types
Description
Holds the fields of one ISO Web Capture command dictionary stored in catalog /SpiderInfo metadata
Declaration
Delphi
TPDFlibWebCaptureCommand= Record
URL: AnsiString;
Levels: Integer;
Flags: Integer;
PostData: AnsiString;
ContentType: AnsiString;
Headers: AnsiString;
End;Field values
| URL | Required source URL stored as /URL |
|---|---|
| Levels | Traversal depth stored as /L and required to be at least 1 when adding a command |
| Flags | Bit mask stored as /F, combining PDF_WEB_CAPTURE_SAME_SITE, PDF_WEB_CAPTURE_SAME_PATH and PDF_WEB_CAPTURE_SUBMIT |
| PostData | Optional submission data stored as /P |
| ContentType | Optional content type stored as /CT |
| Headers | Optional HTTP header text stored as /H |
Return values
Not applicable because this declaration is a value record rather than an operation
Failure behaviour
The record performs no validation by itself. AddWebCaptureCommand validates required fields and flag bits, while GetWebCaptureCommand writes defined defaults before attempting to read metadata
Remarks
The record represents ISO Web Capture command metadata only. Supplying it to the library does not initiate a network request or crawler
See also
AddWebCaptureCommand, GetWebCaptureCommand, GetWebCaptureCommandCount