MKI_PenGetIndex (Elements) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

__int32

MKI_PenGetIndex(

 const LPCWSTR f_pszName );

 

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

 

Parameters

Name

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

 

Return Value

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

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH