AddOutputIntentProfileReferenceURL

合規性、色彩管理

描述

在現有的外部 ICC 輸出設定檔參照中加入替代擷取 URI

語法

Delphi

Function AddOutputIntentProfileReferenceURL(PageNumber: Integer; Const ProfileURL: WideString): Integer;

參數

PageNumber0 表示 Catalog 輸出意圖,或以 1 為基準的頁碼表示明確的頁面輸出意圖
ProfileURL具有明確配置的 ASCII RFC 3986 URI

傳回值

呼叫後 URI 存在時傳回 1;目標或 URI 無效,或缺少 /DestOutputProfileRef 結構時傳回 0

備註

此方法會將包含 /FS /URL 與 /F 的 URL 檔案規格附加至參照的 /URLs 陣列

重複加入同一 URI 不會產生重複項目(冪等)

請先呼叫 SetOutputIntentProfileReference 建立主要設定檔參照及其初始 URI

另請參閱

SetOutputIntentProfileReference, GetEffectivePageOutputIntentJSON, SetPDFXMode