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

Returns the current read-only flag value of the text field. The read-only flag determines whether text field content can be edited (if its value is true) or not (if its value is false). The method fills a passed boolean value with the current flag value and returns it to a calling subroutine. 

 

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