API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdTextField Class > OdTextField Methods > OdTextField::getLock Method
OdTextField::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 text field is locked. If the flag value is equal to true, the text field is locked and becomes disabled, otherwise it is enabled and unlocked. The method fills a passed boolean value with the text field lock flag value and returns it to a calling subroutine. 

 

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