MKI_DrawingExportBitmap (Import and Export) Changed in Version 2026.0

www.CAD6.com

C++ Syntax

MKI_RESULTVALUE

MKI_DrawingExportBitmap( 

 const LPCWSTR f_pszFileName,

 __int32 f_nFilterMode,

 __int32 f_nFlag,

 MKI_CONST_RECT_PTR f_pFrame,

 MKI_CONST_BITMAP_EXPORT_PTR f_pData );

 

Exports the current drawing to a bitmap file.

 

Not supported in CAD6starter!

 

Parameters

f_pszFileName

[const LPCWSTR] File name of the bitmap file to which the drawing shall be exported.

f_nFilterMode New in Version 2025.1

[__int32] A bit-wise OR combination of special filter modes. It can be any combination of the following values:

MKI_FILTERMODE_NULL

No special mode.

MKI_FILTERMODE_NO_ERROR

The export filter shall not display any (interrupting) messages in case of errors and no interrupting user interaction.

MKI_FILTERMODE_NO_FEEDBACK

The export filter shall not display any (non-interrupting) progress indication dialogs or other optical feedback.

f_nFlag New in Version 2025.1

[__int32] Determines which entities shall be exported. Use MKI_FLAG_NULL to export the complete drawing or any combination of MKI_FLAG_* to export a specific subset of entities.

f_pFrame

[MKI_CONST_RECT_PTR] Defines a rectangular section of the drawing to be exported. If nullptr, the entities' surrounding rectangle will be exported.

f_pData

[MKI_CONST_BITMAP_EXPORT_PTR] Address of a buffer containing the bitmap export parameters to be used. If nullptr, the system's current parameters will be used.

 

Return Value Changed in Version 2025.1

Enumeration result as a bit-wise OR combination of flags (see MKI_RESULT_*). Some results indicate minor problems and do NOT mean that the export was stopped or unsuccessful!

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH