![]() |
MKI_PenSetLibraryByIndex (Elements) Renamed in Version 2015.0 |
www.CAD6.com |
C++ Syntaxbool MKI_PenSetLibraryByIndex( const LPCWSTR f_pszLibraryName, __int32 f_nIndex, MKI_CONST_PENDEF_REF f_rData );
Replaces the desired library pen definition with the new definition pointed to by Data.
In order to delete a pen definition, replace it with a pen definition where Data->PenName is set to "".
ParametersLibraryName [const LPCWSTR] Name of the library whose pen definition shall be set. Fails if the library name is MKI_BLOCK_ID. Index [__int32] Zero-based index of the pen definition that shall be set. Valid range: 0 < Value <= MKI_PEN_MAX. Data [MKI_CONST_PENDEF_REF] Address of a buffer containing the new pen definition. The name of the pen must not begin with a '*' character!
Return ValueReturns true if successful, false if not.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH