MKI_ColorGetIndex (Elements) New in Version 2019.0

www.CAD6.com

C++ Syntax

__int32

MKI_ColorGetIndex(

 const LPCWSTR f_pszName );

 

Retrieves the index of a color with the given name in the current drawing, if defined.

 

Parameters

Name

[const LPCWSTR] Name of the color to be found.

 

Return Value

Returns the index of an existing color within the current drawing. Otherwise, a negative value is returned (usually indicating the color does not exist).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH