AddOptionalContentConfigRadioGroupItem

Optional content, radio groups, viewer interaction

Description

Adds one optional-content group to a reachable mutually exclusive group in the selected configuration

Syntax

Delphi

Function TPDFlib.AddOptionalContentConfigRadioGroupItem(OptionalContentConfigID, RadioGroupID, OptionalContentGroupID: Integer): Integer;

DLL

int DLAddOptionalContentConfigRadioGroupItem(int InstanceID, int OptionalContentConfigID, int RadioGroupID, int OptionalContentGroupID);

ActiveX

Function PDFlib::AddOptionalContentConfigRadioGroupItem(OptionalContentConfigID As Long, RadioGroupID As Long, OptionalContentGroupID As Long) As Long

Parameters

OptionalContentConfigIDOne-based optional-content configuration index in the selected document
RadioGroupIDRadio-group handle returned by AddOptionalContentConfigRadioGroup; it must still belong to that configuration
OptionalContentGroupIDGroup handle to append; it must belong to the selected document and must not already be a member of any radio group in the configuration

Return values

Returns 1 on success or 0 for an invalid handle, duplicate member, or cross-group membership conflict

See also

AddOptionalContentConfigRadioGroup, GetOptionalContentConfigRadioGroupSize