BitMapResourceEncoder

BitMapResourceEncoder


This encodes a multiple StdPicture bitmaps into individual arrays of bytes.


Implements:

IResourceEncoder 

Public:

Methods:

NameDescription
 Encode Encodes a bitmap into a ResourceKey and encoded byte array.  
 GetEncodedResource Retrieves the next encoded resource in the encoder.  
 Reset Releases all currently encoded values.  

Remarks

In order to save a bitmap into a .RES file, it must be converted to an array of bytes so it can be written to the file.

Each time a bitmap is encoded, the array of bytes is stored internally for future retrieval. Multiple bitmaps can be encoded, each encoded bitmap will be stored with a ResourceKey for future retrieval.

See Also

Project CorLib Overview

Class BitMapResourceEncoder Overview

ResourceWriter