SetChoiceforGroup method
- Last UpdatedMar 10, 2026
- 1 minute read
Sets the default choice for the selected choice group. The named choice must already exist in the choice group of the object; if it does not exist, the choice is not set.
Class
IgObject
Syntax
[C#]
SetChoiceforGroup(
string strGroupName,
string strChoiceName
);
[Visual C++]
HRESULT SetChoiceforGroup
(
[in] BSTR strGroupName,
[in] BSTR strChoiceName
);
Parameters
strGroupName
The name of the choice group for which you are setting the default choice
strChoiceName
The name of the default choice to be set as the default