CachedBitmap class

Applies to: desktop apps only

A CachedBitmap object stores a bitmap in a format that is optimized for display on a particular device. To display a cached bitmap, call the Graphics::DrawCachedBitmap method.

Members

The CachedBitmap class inherits from GdiplusBase. CachedBitmap also has these types of members:

Constructors

The CachedBitmap class has these constructors.

ConstructorDescription
CachedBitmap::CachedBitmap

Creates a CachedBitmap::CachedBitmap object based on a Bitmap object and a Graphics object. The cached bitmap takes the pixel data from the Bitmap object and stores it in a format that is optimized for the display device associated with the Graphics object.

 

Methods

The CachedBitmap class has these methods.

MethodDescription
CachedBitmap::GetLastStatus

The CachedBitmap::GetLastStatus method returns a value that indicates whether this CachedBitmap object was constructed successfully.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Show: