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

Variant value of Boolean type.

Converts a value of Boolean type to a variant value. 

 

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