AddOptionalContentConfigRadioGroup
選用內容、radio 群組、檢視器互動
描述
建立包含兩個不同選用內容群組的互斥群組
語法
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 Long參數
| OptionalContentConfigID | 所選文件中的選用內容組態索引(1 起算) |
|---|---|
| FirstOptionalContentGroupID | 第一個群組控制代碼;兩個成員皆須屬於所選文件,且必須是不同群組 |
| SecondOptionalContentGroupID | 第二個群組控制代碼;兩者皆不得已屬於同一組態中的選項按鈕群組 |
傳回值
成功傳回 radio 群組控制代碼;成員無效、重複或已屬於其他 radio 群組時傳回 0
備註
同一設定中,每個選用內容群組最多屬於一個 radio 群組
另請參閱
AddOptionalContentConfigRadioGroupItem, DeleteOptionalContentConfigRadioGroup