SetCapturedPageOptional

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

説明

キャプチャ済みページをオプショナルコンテンツグループまたはメンバーシップ辞書にリンクします

構文

Delphi

Function TPDFlib.SetCapturedPageOptional(CaptureID, OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::SetCapturedPageOptional(CaptureID As Long, OptionalContentGroupID As Long) As Long

DLL

int DLSetCapturedPageOptional(int InstanceID, int CaptureID, int OptionalContentGroupID);

パラメータ

CaptureID以前にページをキャプチャしたときに CapturePage 関数が返した ID
OptionalContentGroupIDオプショナルコンテンツグループハンドル、または NewOptionalContentMembership が返したメンバーシップハンドル

戻り値

0キャプチャまたはオプショナルコンテンツのハンドルが無効だった
1キャプチャしたページはオプションコンテンツオブジェクトに正常にリンクされた