Parameters |
Description |
const OdCmColor& cmColor |
[in] Color instance to be set. |
Sets the data content of the ResBuf object using the specified Color instance only if the group code is set to OdResBuf::kRtColor.
This method generates the OdError_InvalidResBuf exception when the stored group code is not set to kRtColor. The passed value must be the OdCmColor instance. The OdDxfCode::_getType() method returns Unknown type for it.
Example of Entering and Displaying Tagged Data
Getting and Setting Specific Data (color
Determining the Data Type by Group Code
Colors and Transparencies
OdResBuf::getColor(), OdResBuf::setRestype() methods
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|