BeginValidationPipelineFromStream
Compliance, Performance
Requires the Enterprise edition. Use TPDFlibEnterprise for this native API
Description
Opens a reusable validation pipeline over a caller-owned stream
Syntax
Delphi
Function TPDFlib.BeginValidationPipelineFromStream(Source: TStream; Const Password: WideString; Const SourceName: WideString= ''): Integer; Virtual;
Parameters
| Source | Readable, seekable stream containing a PDF from byte zero |
|---|---|
| Password | Open password, or an empty string when the PDF is unencrypted |
| SourceName | Optional label for validation reports |
Return values
Returns a positive pipeline identifier on success, or 0 for unreadable input with error 401 or an incorrect password with error 404
Remarks
Keep the stream open and its contents stable until ReleaseValidationPipeline. Validation can change Position. The caller frees the stream
See also
BeginValidationPipeline, BeginValidationPipelineFromBuffer, ReleaseValidationPipeline