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

Returns True if the OCG is marked visible (ON) in the document's default configuration (D dictionary)

Usage notes

Related APIs