AddOptionalContentConfigRadioGroupItem

可选内容、单选组、查看器交互

描述

将一个可选内容组添加到所选配置中可访问的互斥组

语法

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

参数

OptionalContentConfigID所选文档中从 1 开始的可选内容配置索引
RadioGroupID由 AddOptionalContentConfigRadioGroup 返回的单选组句柄;它必须仍属于该配置
OptionalContentGroupID要追加的组句柄;它必须属于所选文档,且不得已是该配置中任何单选组的成员

返回值

成功时返回 1,句柄无效、成员重复或跨组成员关系冲突时返回 0

另请参阅

AddOptionalContentConfigRadioGroup, GetOptionalContentConfigRadioGroupSize