SetOutputIntentSubtype

Dokumentegenskaper, Tryckproduktion

Beskrivning

Omtaggat dokumentets output intent med en annan subtyp, så att en befintlig färgprofil kan beskriva ett PDF/X-tryckvillkor i stället för ett PDF/A-arkiveringsvillkor

Syntax

Delphi

Function TPDFlib.SetOutputIntentSubtype(Const Subtype: WideString): Integer;

Parametrar

Subtype/S-värdet, typiskt GTS_PDFX för tryckproduktion eller GTS_PDFA1 för arkivering

Returvärden

0Dokumentet har ännu ingen output intent, eller subtypen är tom
1Output intenten omtaggades

Anmärkningar

SetPDFAMode och LoadOutputIntentProfile skapar output intenten taggad GTS_PDFA1; anropa detta därefter för att i stället deklarera ett tryckvillkor. Para det med SetTrapped och en CMYK-profil för en tryckklar fil

Exempel

PDF.LoadOutputIntentProfile('CoatedFOGRA39.icc', 'DeviceCMYK');
PDF.SetOutputIntentSubtype('GTS_PDFX');
PDF.SetTrapped(2);

Se även

GetOutputIntentSubtype, LoadOutputIntentProfile, SetTrapped