Share

AcDbDatabase::thumbnailBitmap

C++

void* thumbnailBitmap() const;

Description

This function returns the thumbnail bitmap image as a void* pointer. The bitmap format is in Windows BITMAPINFO* format.

Note

This function is intended for RealDWG developers. Preview thumbnail behavior reflects what the host application must do to generate a preview.

ObjectARX developers should not call this function because AutoCAD generates all preview thumbnails.

Most of the time, the AcDbDatabase::thumbnailBitmap() method will return nothing, since the bitmap is not read into memory by AcDbDatabase::readDwgFile(). To retreive the thumbnail from the DWG file (as opposed to directly from the database), use the ObjectARX standalone functions (for example acdbDisplayPreviewFromDwg()).

Links

AcDbDatabase Class

Was this information helpful?