API Reference > Auxiliary Classes > AECCVariant Class > AECCVariant Methods > AECCVariant::toEnum Method
AECCVariant::toEnum Method
Syntax
C++
static AECCVariant toEnum(OdInt32 iValue, OdUInt32 iId = 0x0D000000, OdUInt32 iTY = 0);
Parameters 
Description 
OdInt32 iValue 
[in] Value to convert.  
OdUInt32 iId = 0x0D000000 
[in] Type ID.  
OdUInt32 iTY = 0 
[in] Type information. 

Variant value of enumeration type.

Converts a value of Int32 type to a variant enumeration value. 

 

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