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

Returns the current value of the flag that determines whether the checkbox is locked. If the flag value is equal to true, the checkbox is locked and becomes disabled, otherwise it is enabled and unlocked. The method fills a passed boolean value with the checkbox lock flag value and returns it to a calling subroutine. 

 

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