ClearOutputIntentColorantData

Compliance, colour management

Description

Removes /MixingHints and /SpectralData from the first output intent at a selected scope

Syntax

Delphi

Function ClearOutputIntentColorantData(PageNumber: Integer): Integer;

Parameters

PageNumber0 for the Catalog output intent, or a one-based page number for an explicit page output intent

Return value

1 when the selected scope has an output intent and its colourant data is cleared, or 0 for an invalid scope or missing output intent

Remarks

The profile, subtype, production-condition fields and the output intent itself are preserved

See also

SetOutputIntentMixingHints, SetOutputIntentSpectralData, GetEffectivePageOutputIntentJSON