GetOutputIntentICCInfo

Свойства документа, Соответствие стандартам

Описание

Эта страница описывает GetOutputIntentICCInfo в PDF Library for Delphi в разделе "Свойства документа, Соответствие стандартам". Имена API, параметры, имена классов, имена файлов и литералы сохранены ровно в том виде, в каком они приведены в библиотеке Delphi и точках входа DLL.

Перед вызовом функции проверьте синтаксис, параметры и возвращаемые значения.

Синтаксис

Delphi

Function TPDFlib.GetOutputIntentICCInfo(Out Info: TPDFICCProfileInfo): Integer;

Параметры

Info receives the ICC header summary of the profile attached to the document's first OutputIntent: total profile size, profile version (e.g. 4.3), device class signature (mntr, prtr, ...), data colour space (RGB, CMYK, GRAY, Lab, ...), the profile connection space, the header rendering intent (0..3) and the component count derived from the colour space.

Возвращаемые значения

Возвращает 1, если документ содержит намерение вывода (OutputIntent) с правильно сформированным ICC-профилем (128-байтовый заголовок с сигнатурой acsp), и 0 в противном случае.

Примечания

Useful for inspecting the print condition of PDF/A and PDF/X documents. The same header parser also backs the renderer's ICCBased colour-space handling, which now derives the component count from the profile itself when the colour space carries neither /Alternate nor /N.