|
MKI_ColorSetByIndex (Elements) New in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_ColorSetByIndex( __int32 f_nIndex, MKI_CONST_COLORDEF_REF f_rData );
Replaces the current drawing color definition with the new definition pointed to by f_rData.
Parametersf_nIndex [__int32] Zero-based index of the color definition that shall be set. Valid range: 0 <= Value < MKI_CUSTOMCOLOR_MAX. f_rData [MKI_CONST_COLORDEF_REF] Address of a buffer containing the new color definition. The name of the color must not begin with a '*' character!
Return ValueReturns true if successful, false if not.
CommentIn order to delete a color definition, replace it with a color definition where f_rData.m_szColorName is set to "".
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH