MKI_PenAdd (Elements) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

__int32

MKI_PenAdd(

 MKI_CONST_PENDEF_REF f_rData );

 

Adds the new definition pointed to by Data as a new pen to the current drawing.

 

Parameters

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 and must not be used yet!

 

Return Value

Returns the index of the new pen within the current drawing if added successfully. Otherwise, a negative value is returned (especially if the given pen's name is already used).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH