GetEffectivePageOutputIntentJSON

Compliance, diagnostics

Description

Returns a JSON snapshot of the output intents that apply to one page

Syntax

Delphi

Function GetEffectivePageOutputIntentJSON(PageNumber: Integer): WideString;

Parameters

PageNumberOne-based page number

Return value

A JSON object for a valid page, or an empty string for an invalid page or no active document

JSON fields

source is page for an explicit page-level array, document for the Catalog fallback or none when neither exists; each intent reports validity, subtype, production-condition text, profile storage kind, ICC component count, profileCS, profileName, hexadecimal iccVersion and checkSum values, retrieval profileURLs, profile colorants, hasMixingHints, numeric mixingSolidities, physical printingOrder, hasSpectralData, spectralDataValid and spectralColorants

Remarks

The reader resolves indirect dictionaries and streams lazily, decodes CxF spectral streams with a 64 MiB bound and checks that every spectral key has exactly one matching SpotInkCharacterisation

See also

SetPageOutputIntent, SetOutputIntentProfileReference, SetOutputIntentMixingHints, SetOutputIntentSpectralData, ClearOutputIntentColorantData, ClearPageOutputIntents