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 | 已成功将捕获的页面链接到可选内容对象 |