MKI_BitmapLibraryGetIndex (Bitmaps) New in Version 6.41

www.CAD6.com

C++ Syntax

__int32

MKI_BitmapLibraryGetIndex(

 const LPCWSTR f_pszLibraryName,

 const LPCWSTR f_pszBitmapName );

 

Determines the index of a bitmap currently loaded in the given library. This includes both referenced and embedded bitmaps.

 

Parameters

LibraryName

[const LPCWSTR] Name of the library whose bitmap list shall be accessed. Fails if library name is MKI_BLOCK_ID.

BitmapName

[const LPCWSTR] Name of the bitmap whose index shall be returned.

 

Return Value

Returns the bitmap index if successful, or a negative value if not successful.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH