AddOptionalContentConfigRadioGroup
Optional content, radio groups, viewer interaction
Description
Creates a mutually exclusive group containing two distinct optional-content groups
Syntax
Delphi
Function TPDFlib.AddOptionalContentConfigRadioGroup(OptionalContentConfigID, FirstOptionalContentGroupID, SecondOptionalContentGroupID: Integer): Integer;DLL
int DLAddOptionalContentConfigRadioGroup(int InstanceID, int OptionalContentConfigID, int FirstOptionalContentGroupID, int SecondOptionalContentGroupID);ActiveX
Function PDFlib::AddOptionalContentConfigRadioGroup(OptionalContentConfigID As Long, FirstOptionalContentGroupID As Long, SecondOptionalContentGroupID As Long) As LongParameters
| OptionalContentConfigID | One-based optional-content configuration index in the selected document |
|---|---|
| FirstOptionalContentGroupID | First group handle; both members must belong to the selected document and must be different groups |
| SecondOptionalContentGroupID | Second group handle; neither member may already belong to a radio group in the same configuration |
Return values
Returns a radio-group handle on success or 0 when a member is invalid, duplicated, or already belongs to another radio group
Remarks
Each optional-content group can belong to at most one radio group in the same configuration
See also
AddOptionalContentConfigRadioGroupItem, DeleteOptionalContentConfigRadioGroup