Share

AcCmColorBase::colorNameForDisplay

C++

const ACHAR* colorNameForDisplay() override;

Description

This function returns a pointer to a string for displaying the color name. It is always non-null. The pointer is valid only as long as the AcCmColorBase object exists or until the color is changed. If needed, the caller should make a copy of the string for displaying the color name.

For named colors, the string is identical to the string returned by colorName(). For unnamed colors, it is a formatted string containing an appropriate name for the color.

Links

AcCmColor

Was this information helpful?