SetPDFEMode

Compliance, engineering documents, colour management

Description

Selects PDF/E-1 engineering document authoring for a new document and activates strict validation before every save

Syntax

Delphi

Function SetPDFEMode(NewMode: Integer): Integer;

ActiveX

Function PDFlib::SetPDFEMode(NewMode As Long) As Long

DLL

int DLSetPDFEMode(int InstanceID, int NewMode);

Parameters

NewMode1 selects PDF/E-1; 0 clears PDF/E mode

Return values

1 when the mode was selected or cleared, otherwise 0

Remarks

The mode is available only for a new document, selects PDF 1.6, writes the required Info and XMP identification and lifecycle properties, and creates an embedded DeviceRGB PDF/E output intent

PDF/E mode is mutually exclusive with PDF/A, PDF/X, PDF/VT, PDF/VCR, PDF/R, PDF/UA and WTPDF workflows

JavaScript and ImportData actions are rejected while the mode is active; saving fails with LastErrorCode 609 when identification, lifecycle metadata, encryption, output intents, XFA or alternate presentations are inconsistent; use compliance test 7 for the complete file audit

See also

GetPDFEMode, GetPDFEDiagnostics, CheckFileCompliance, RunValidationPipelineTask