THotPDF.GetLoadedOCGVisibility Method

Queries the default visibility state of a specified optional content group (OCG) in the loaded PDF document

Declaration

function GetLoadedOCGVisibility(Index: Integer): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
IndexZero-based index of the optional content group

Return value

若该 OCG 在文档默认配置(D 字典)中标记为可见(ON)则返回 True,否则返回 False

Usage notes

Related APIs