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

Sets a new 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. 

 

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