hImage = MImgLoadFromVisPic( nVisPic )

Loads an image from a visual toolchest picture.

Parameters
nVisPic
Number: The visual toolchest picture

Return
Number: Handle of the image or 0 if an error occurs

Example

! Load VT picture
Set nVisPic = VisPicLoad( PIC_FormatBitmap | PIC_LoadFile, "c:\\image.bmp", STRING_Null )
! Load image from VT picture
Set hImage = MImgLoadFromVisPic( nVisPic )

See also
Load functions

Created with the Personal Edition of HelpNDoc: Free Web Help generator