API Reference > OdDAI Namespace > Classes > Select Class > Select Methods > setEnum Method > Select::setEnum Method (OdAnsiString &)
Select::setEnum Method (OdAnsiString &)
Syntax
C++
bool setEnum(const OdAnsiString & val);
Parameters 
Description 
const OdAnsiString & val 
[in] A new value.  

Returns true if the value was successfully set; otherwise, the method returns false.

Sets a new value represented by OdAnsiString value into underlying enumeration instance.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.