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 Long

Parameters

InputFileNamePDF file to validate
PasswordOwner or user password, or an empty string
ModelIDCompiled model identifier
OptionsBit 1 stops after the first issue, bit 2 permits unknown first-class keys, and bit 4 reports deprecated entries

Return values

Positive valueString-list identifier containing syntax issues; release it with ReleaseStringList
0No issue was found, or validation could not start

See also

ValidateArlingtonPipelineSyntax, LoadArlingtonModel