GetOptionalContentGroupVisible

Content Streams and Optional Content Groups

Description

Returns the visible state of the specified optional content group.

View-event usage applications identify groups by their PDF object references, so groups with identical names remain independent; fixed View, Print and Export recommendations in the listed categories are combined, and an applicable OFF recommendation makes the group invisible

Syntax

Delphi

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

ActiveX

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

DLL

int DLGetOptionalContentGroupVisible(int InstanceID, int OptionalContentGroupID);

Parameters

OptionalContentGroupIDAn ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions

Return values

0The specified optional content group is not visible
1The specified optional content group is visible