Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::getBool Method
Syntax
C++
bool getBool() const;

Returns the data content of the ResBuf object as a Boolean value.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Bool type. If the stored value is an Integer type, this method casts it to a Boolean type and returns True when the value is non zero, or False when the value is zero.

Copyright © 2002-2022. Open Design Alliance All rights reserved.