THotPDF.AddLoadedOptionalContentMembership Method

建立選擇性內容成員資格字典(ISO 32000-1 8.11.2.2),其可見性取決於由單一政策組合的多個選擇性內容群組

宣告

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

單元

HPDFDoc

參數

名稱用途
OCGIndices包含在 /OCGs 中的選擇性內容群組索引
Policy組合政策:AnyOn、AllOn、AnyOff 或 AllOff

傳回值

新 OCMD 字典的物件編號,可用來附加到頁面或 XObject 的 /OC 條目

使用說明

相關 API