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

Sets a text field read-only flag value. The read-only flag determines whether text field content can be edited (if its value is true) or not (if its value is false). 

 

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