API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdRadioButton Class > OdRadioButton Methods > OdRadioButton::setDefaultState Method
OdRadioButton::setDefaultState Method
Syntax
C++
void setDefaultState(bool state);
Parameters 
Description 
bool state 
[in] A new default state. 

Sets the radio button default state. If the default state is equal to true, the radio button is switched on when it is displayed in a document, otherwise the radio button is switched off. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.