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 | キャプチャしたページはオプションコンテンツオブジェクトに正常にリンクされた |