DIBMP:LoadDIBFromDynaString() Method
<< Click to Display Table of Contents >> DIBMP:LoadDIBFromDynaString() Method |
![]() ![]() ![]() |
Purpose
To load a bitmap from a string.
Syntax
<oDIBMP>:LoadDIBFromDynaString(cString) → lSuccess (LOGIC)
Arguments
cString |
String which contains a bitmap. |
Description
This method loads a bitmap from a string. The string must contain a BITMAPFILEHEADER structure or it is ignored.
The BITMAPFILEHEADER structure is a standard Windows structure. Please refer to the Windows SDK reference for more information.
Due to the 64K size limit of strings in a 16 bit application, the size of a bitmap loaded via this method must be less than 64K when using the RP2/16 runtime.
Example
// Load a bitmap from a string
cSting:=fieldget(3)
oDIBMP:LoadDIBFromDynaString(cString)