GetOptionalContentGroupVisible

内容流和可选内容组

描述

返回指定可选内容组的可见状态

使用 View 事件的应用通过 PDF 对象引用来标识组,因此名称相同的组仍相互独立;所列类别中固定的 View、Print 和 Export 建议会合并使用,而适用的 OFF 建议会使该组不可见

语法

Delphi

Function TPDFlib.GetOptionalContentGroupVisible(OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::GetOptionalContentGroupVisible(OptionalContentGroupID As Long) As Long

DLL

int DLGetOptionalContentGroupVisible(int InstanceID, int OptionalContentGroupID);

参数

OptionalContentGroupID由 NewOptionalContentGroup、GetOptionalContentGroupID 或 GetOptionalContentConfigOrderItemID 函数返回的 ID

返回值

0指定的可选内容组不可见
1指定的可选内容组可见