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

Returns the current value of the custom text flag of 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. The method fills a passed boolean value with the custom text flag value and returns it to a calling subroutine. 

 

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