API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCheckBox Class > OdCheckBox Methods > OdCheckBox::getDefaultState Method
OdCheckBox::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 checkbox default state. If the default state is equal to true, the checkbox is switched on when it displays in a document, otherwise the checbox is switched off. The method fills a boolean object with the checkbox default state value and returns it to a calling subroutine. 

 

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