MKI_ColorFindValue (Elements) New in Version 2019.0

www.CAD6.com

C++ Syntax

__int32

MKI_ColorFindValue(

 MKI_COLORVALUE f_cColor,

 MKI_COLORMODEL f_cColorMode );

 

Finds the index of a given standard or custom color definition based on the color's value.

 

Parameters

Color

[MKI_COLORVALUE] Color value whose name shall be found.

ColorMode

[MKI_COLORMODEL] This value determines how the content of Color is to be interpreted (see MKI_COLORMODE_*).

 

Return Value

Returns the index of the color definition if it was found, else a negative value.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH