<- Back to MMColor function list
MMColor_GetImageColor
- Description
This function will take an Image created with MMColor_CreateColorImage and return the associated color of that image. It will only work with Container Objects created directly with MMColor_CreateColorImage.
- Return Type
- Text (HexColor)
- Format
- MMColor_GetImageColor ( Image )
- Required Parameters
- Image
A Container that holds the Image you want to retrieve the Color from. This only works for Images that were created with MMColor_CreateColorImage.
- Image
- Related Items
- MMColor_CreateColorImage
- Example
Code:
MMColor_GetImageColor( mydb::mycontainer )Result:
Returns "FFFF00" if the Image in the "mycontainer" field was created with MMColor_CreateColorImage and is a bright yellow color.