Product Logo

CNS Image

Import, edit, and export Images in the FileMaker environment

Functions

CNSImage_GetImageHexColor

NameCNSImage_GetImageHexColor
Description

This function will take an Image created with CNSImage_CreateHexColorImage and return the associated color of that image. It will only work with Container Objects created directly with CNSImage_CreateHexColorImage.

Return TypeText (HexColor)
FormatCNSImage_GetImageHexColor ( 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 CNSImage_CreateHexColorImage.

Example
Example 1

Returns "FFFF00" if the Image in the "mycontainer" field was created with CNSImage_CreateHexColorImage and is a bright yellow color.

CNSImage_GetImageHexColor( mydb::mycontainer )