MKI_BITMAP_DATA (Basic Classes) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

class MKI_BITMAP_DATA

{

  public:

 

  MKI_FILENAMEW m_szFileName,

                m_szLocalFileName;

  HBITMAP m_hHandle;

  __int32 m_nColorBits;

  MKI_INTVECTOR m_cSize;

  MKI_VECTOR m_cMMPerPixel;

  bool m_fEmbedded;

};

 

This structure contains information on a referenced bitmap.

 

Element Description

FileName Changed in Version 2019.1

[MKI_FILENAMEW] Original filename of the bitmap.

LocalFileName Changed in Version 2019.1

[MKI_FILENAMEW] Local filename of the bitmap, i.e. the actual location where this bitmap was found by the serving application.

Handle

[HBITMAP] Handle of a device-independent bitmap object containing the bitmap if it is already loaded to memory, or nullptr otherwise.

ColorBits

[__int32] Number of color bits per pixel, usually 1, 4, 8, 24, or 32.

Size

[MKI_INTVECTOR] Width and height of the bitmap in pixels.

MMPerPixel

[MKI_VECTOR] Horizontal and vertical size of one bitmap pixel in [mm] (e.g. "0.02" for 1270 dpi).

Embedded

[bool] If true, this bitmap is embedded, i.e. it is stored inside the drawing file. If false, the bitmap is stored on disk and only referenced by the drawing.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH