CFx SDK Documentation
2020SP3
|
#include <ThumbnailImage.h>
Public Member Functions | |
bool | hasHeader () const |
bool | hasBmp () const |
bool | hasWmf () const |
bool | hasPng () const |
int | getNumEntries () const |
bool | convPngToBmp () |
bool | convBmpToPng () |
void | setImageData (const void *pData, OdUInt32 dataLengt) |
const void * | getImageData (OdUInt32 &dataLengt) |
bool | setRasterImage (const OdGiRasterImage *image) |
OdGiRasterImagePtr | getRasterImage () |
Public Attributes | |
OdBinaryData | header |
OdBinaryData | bmp |
OdBinaryData | wmf |
OdBinaryData | png |
This class is a data container class for .dwg file Preview Bitmaps. Corresponding C++ library: TD_DbRoot <group Other_Classes>
Definition at line 43 of file ThumbnailImage.h.
bool OdThumbnailImage::convBmpToPng | ( | ) |
Converts the bmp data to png data for this ThumbnailImage object.
bool OdThumbnailImage::convPngToBmp | ( | ) |
Converts the png data to bmp data for this ThumbnailImage object.
Gets PNG, BMP or DIB data for this ThumbnailImage object.
|
inline |
Returns the number of entries populated for this ThumbnailImage object.
Definition at line 77 of file ThumbnailImage.h.
OdGiRasterImagePtr OdThumbnailImage::getRasterImage | ( | ) |
Gets raster image from data for this ThumbnailImage object.
|
inline |
Returns true if and only if the bmp data is populated for this ThumbnailImage object.
Definition at line 59 of file ThumbnailImage.h.
|
inline |
Returns true if and only if the header data is populated for this ThumbnailImage object.
Definition at line 54 of file ThumbnailImage.h.
|
inline |
Returns true if and only if the png data is populated for this ThumbnailImage object.
Definition at line 69 of file ThumbnailImage.h.
|
inline |
Returns true if and only if the wmf data is populated for this ThumbnailImage object.
Definition at line 64 of file ThumbnailImage.h.
Sets PNG, BMP or DIB data for this ThumbnailImage object.
bool OdThumbnailImage::setRasterImage | ( | const OdGiRasterImage * | image | ) |
Sets data from image for this ThumbnailImage object.
OdBinaryData OdThumbnailImage::bmp |
Definition at line 47 of file ThumbnailImage.h.
OdBinaryData OdThumbnailImage::header |
Definition at line 46 of file ThumbnailImage.h.
OdBinaryData OdThumbnailImage::png |
Definition at line 49 of file ThumbnailImage.h.
OdBinaryData OdThumbnailImage::wmf |
Definition at line 48 of file ThumbnailImage.h.