SetOutputIntentSubtype
Свойства документа, печатное производство
Описание
Перетегирует выходное намерение документа другим подтипом, чтобы существующий цветовой профиль описывал условие печати PDF/X вместо архивного PDF/A
Синтаксис
Delphi
Function TPDFlib.SetOutputIntentSubtype(Const Subtype: WideString): Integer;Параметры
| Subtype | The /S value, typically GTS_PDFX for print production or GTS_PDFA1 for archiving. |
|---|
Возвращаемые значения
| 0 | У документа ещё нет output intent либо подтип пуст |
|---|---|
| 1 | Output intent перетегирован |
Примечания
SetPDFAMode and LoadOutputIntentProfile create the output intent tagged GTS_PDFA1; call this afterwards to declare a printing condition instead. Pair it with SetTrapped and a CMYK profile for a press-ready file.
Пример
PDF.LoadOutputIntentProfile('CoatedFOGRA39.icc', 'DeviceCMYK');
PDF.SetOutputIntentSubtype('GTS_PDFX');
PDF.SetTrapped(2);