THotPDF.AddLoadedOptionalContentMembership Method

构建可选内容成员字典(Optional Content Membership Dictionary,ISO 32000-1 8.11.2.2),其可见性由多个可选内容组按同一种策略组合决定

声明

function AddLoadedOptionalContentMembership(const OCGIndices: array of Integer; Policy: THPDFOCMDPolicy): Integer;

单元

HPDFDoc

参数

名称用途
OCGIndices/OCGs 中包含的可选内容组的索引
PolicyCombination policy: AnyOn, AllOn, AnyOff, or AllOff

返回值

新 OCMD 字典的对象号,用于挂接到页面或 XObject 的 /OC 条目

使用说明

相关 API