VBS tutorial: function – loadpicture function

Time:2021-10-23

Loadpicture function

Returns a picture object.

LoadPicture(picturename)

picturenameThe parameter is a string expression that indicates the name of the picture file to load.

explain

Can beLoadPictureThe recognized graphic formats are bitmap file (. BMP), icon file (. ICO), stroke encoding file (. RLE), metafile (. WMF), enhanced metafile (. EMF), GIF (. GIF) file and JPEG (. JPG) file.