SetCapturedPageTransparencyGroup

コンテンツストリームとオプショナルコンテンツグループ、ページレイアウト

説明

キャプチャ済みページ XObject に透明グループ辞書を設定します。CapturePage または CapturePageEx の後、キャプチャ済みコンテンツを透明グループとして合成する必要がある場合は、そのページを描画する前に使用します

PDF バージョンの動作: キャプチャ済みページの透明グループは PDF 1.4 の /Group 透明モデルを使用します。現在のドキュメントバージョンがそれより低く、保存バージョンがロックされていない場合、SetCapturedPageTransparencyGroup はドキュメントを PDF 1.4 に自動的に引き上げ、transparency group を AutoBumpedFeatures に記録します。呼び出し元がそれより低い保存バージョンをロックした場合、互換性ゲートは LastErrorCode 602 で保存を拒否します

構文

Delphi

Function TPDFlib.SetCapturedPageTransparencyGroup(CaptureID, CS, Isolate, Knockout: Integer): Integer;

ActiveX

Function PDFlib::SetCapturedPageTransparencyGroup(CaptureID As Long, CS As Long, Isolate As Long, Knockout As Long) As Long

DLL

int DLSetCapturedPageTransparencyGroup(int InstanceID, int CaptureID, int CS, int Isolate, int Knockout);

パラメータ

CaptureIDCapturePage または CapturePageEx が返した ID
CSブレンド色空間: 1 = DeviceRGB、2 = DeviceCMYK
Isolate透明グループを背景から分離するには 1 を設定し、非分離グループには 0 を設定する
Knockoutグループ内のノックアウト動作を有効にするには 1、通常の合成には 0 を設定します

戻り値

0キャプチャ ID または色空間セレクターが無効か、現在の PDF/A モードで透明グループが禁止されています
1キャプチャ済みページの透明グループが正常に設定されました

関連項目

CapturePage、CapturePageEx、DrawCapturedPage、SetPageTransparencyGroup