MKI_BitmapLibraryWriteToFile (Bitmaps) New in Version 6.41

www.CAD6.com

C++ Syntax

bool

MKI_BitmapLibraryWriteToFile(

 const LPCWSTR f_pszLibraryName,

 __int32 f_nBitmapIndex,

 const LPCWSTR f_pszFileName,

 __int32 f_nFileType );

 

Writes one of the currently loaded bitmaps of the given library to a disk file. 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.

BitmapIndex

[__int32] Zero-based index of the bitmap that shall be written to a bitmap file. Valid range: 0 <= Value < MKI_BitmapLibraryGetNumber.

FileName

[const LPCWSTR] File name of the destination bitmap file.

FileType

[__int32] Identifier of the file type the bitmap shall be written to (see MKI_BITMAPMODE_*).

 

Return Value

Returns true if successful. If false is returned, either the parameters are invalid or the file could not be created (possibly due to disk space).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH