API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdRadioButton Class > OdRadioButton Methods > OdRadioButton::getDefaultState Method
OdRadioButton::getDefaultState Method
Syntax
C++
void getDefaultState(bool& default_state) const;
Parameters 
Description 
bool& default_state 
[out] A placeholder for the default state value. 

Returns the current 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. The method fills a boolean object with the radio button default state value and returns it to a calling subroutine. 

 

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