SetObjectWizardOption method
- Last UpdatedMar 10, 2026
- 1 minute read
Sets the default value (true or false) for the selected object wizard option. The named option must already exist in the object wizard; if it does not exist, the value is not set.
Class
IgObject
Syntax
[C#]
SetObjectWizardOption(
string strOptionName,
bool bValue
);
[Visual C++]
HRESULT SetObjectWizardOption
(
[in] BSTR strOptionName,
[in] VARIANT_BOOL bValue
);
Parameters
strOptionName
The name of the option for which you are setting the default value
bValue
If true, wizard option is enabled by default
If false, the wizard option is disabled by default