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

Returns whether the button is locked. The method fills a passed boolean value and returns it to a calling subroutine. If the button is locked, the method returns true, otherwise it returns false. 

 

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