bOk = MImgGetString( hImage, srStr, nType )

Gets an image as string.

Parameters
hImage
Number: Handle of the image

srStr
Receive String: The string

nType
Number: Image type. Specify MIMG_TYPE_UNKNOWN to use the current image type or one of the supported image types.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example

Call MImgGetString( hImage, sImage, MIMG_TYPE_UNKNOWN )

Remarks
You can use the string returned by this function with the following functions:
- MImgLoadFromString
- SalPicSetString
- SalPicSetImage

In the Unicode versions of Team Developer, SalPicSetString and SalPicSetImage expect a null terminated string, so you have to use MImgGetStringNT rather than this function.

See also
MImgGetStringBase64
MImgGetStringNT
MImgSetGIFCompr
MImgSetJPGQuality
MImgSetTIFCompr

Created with the Personal Edition of HelpNDoc: Easily create EBooks