TPDFlibArlingtonRun
Data types, compliance
Description
Runs one Arlington model operation for the model methods.
TPDFlib declares the public methods and a protected dispatch method for validating PDF objects against an Arlington PDF model. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never declares, assigns or calls a value of this type.
Syntax
Delphi
TPDFlibArlingtonRun = Function(Action: TPDFlibArlingtonAction;
Const Path, Password: WideString; PipelineID, ModelID, Options: Integer): Integer Of Object;Parameters
| Action | Operation to run; one of the values of TPDFlibArlingtonAction |
|---|---|
| Path | Model directory for araLoad, PDF file to validate for araValidateFile; empty otherwise |
| Password | Password for the PDF file for araValidateFile; empty otherwise |
| PipelineID | Identifier returned by BeginValidationPipeline for araValidatePipeline; 0 otherwise |
| ModelID | Identifier returned by LoadArlingtonModel for the operations that use a model; 0 otherwise |
| Options | Bit 1 stops after the first issue, bit 2 permits unknown first-class keys, bit 4 reports deprecated entries; only for the two validation operations |
Return values
| R |
See also
TPDFlibArlingtonAction, LoadArlingtonModel, ValidateArlingtonPipelineSyntax