Decode
Attempts to decode a set of bytes into a Bitmap.
Public Function Decode(
ByVal Key As ResourceKey,
Bytes ( ) As Byte ) As Long
Parameters
- Key
-
[ByVal]
ResourceKey.
The identifier for the set of bytes.
- Bytes
-
[ByRef]
Byte.
The byte data to be decoded into a bitmap.
Return Values
Long - The number of resources decoded from the byte data. Returns 1 on success.
Remarks
The key must be of a resource type bitmap (ResourceTypes.BitmapResource).
See Also
Project CorLib Overview
Class BitMapResourceDecoder Overview
ResourceTypes
ResourceKey