![]() | InDesign SDK 20.5 |
#include <ILibraryAssetThumbnail.h>
Public Types | |
| enum | { kLibAssetThumbnailMaxSize = 112 } |
Public Member Functions | |
| virtual void | Set (int16 xSize, int16 ySize, const void *bitmapPtr, int32 bitmapSize)=0 |
| virtual void | GetDimensions (int16 &xSize, int16 &ySize) const =0 |
| virtual void | GetImageSize (int32 &bitmapSize) const =0 |
| virtual void | GetImage (void *bitmapPtr) const =0 |
| virtual void | Delete ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This secondary interface to the LibraryAsset boss controls reading and writing of the "thumbnail" image for the asset. Library asset thumbnail images are defined to be uncompressed 24 bit/pixel RGB images with a line byte width which is a multiple of 4 bytes.
| pure virtual |
Deletes the thumbnail.
| pure virtual |
Gets the thumbnail image X and Y pixel count.
| xSize | OUT the width in pixels |
| ySize | OUT the height in pixels |
| pure virtual |
Copy the thumbnail image bitmap to a buffer.
| bitmapPtr | IN a pointer to the bitmap – caller must allocate the buffer |
| pure virtual |
Gets the size in bytes of the thumbnail image bitmap.
| bitmapSize | OUT hte size of the bitmap in bytes |
| pure virtual |
Sets the thumbnail to the given image.
| xSize | IN width in pixels |
| ySize | IN height in pixels |
| bitmapPtr | IN pointer to the bitmap |
| bitmapSize | IN the size of the bitmap in bytes |