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

Sets a new value of the custom text flag for the drop-down list. The custom text flag determines whether a user can add a custom value to the drop-down list. If the flag is equal to true, a user can enter a custom value, otherwise the user can only select one of the predefined values from the drop-down list. 

 

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