ValidateArlingtonSyntax
Compliance, Document inspection
Description
Validates PDF object keys, required entries, types, version availability, direct or indirect reference requirements, and enumerated values with a compiled Arlington model
Syntax
Delphi
Function TPDFlib.ValidateArlingtonSyntax(Const InputFileName, Password: WideString; ModelID, Options: Integer): Integer;DLL
Function DLValidateArlingtonSyntax(InstanceID: Integer; InputFileName, Password: PWideChar; ModelID, Options: Integer): Integer; Stdcall;ActiveX
Function PDFlib::ValidateArlingtonSyntax(InputFileName As String, Password As String, ModelID As Long, Options As Long) As LongParameters
| InputFileName | PDF file to validate |
|---|---|
| Password | Owner or user password, or an empty string |
| ModelID | Compiled model identifier |
| Options | Bit 1 stops after the first issue, bit 2 permits unknown first-class keys, and bit 4 reports deprecated entries |
Return values
| Positive value | String-list identifier containing syntax issues; release it with ReleaseStringList |
|---|---|
| 0 | No issue was found, or validation could not start |