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

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

 

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