API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdButton Class > OdButton Methods > OdButton::setLock Method
OdButton::setLock Method
Syntax
C++
void setLock(bool state);
Parameters 
Description 
bool state 
[in] A flag value that determines whether the button is locked (if true) or is unlocked (if false). 

Locks or unlocks the button. 

 

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