Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.LoadPicture Function

Loads the specified image file and returns a standard picture object.
Returns nothing if an error occurs, pass an empty string for returning a blank picture

Syntax
Public Function LoadPicture (Optional ByVal sFile As String = "") As StdPicture
Parameters
Parameter Description
Optional ByVal sFile As String = "" The picture file, this function supports 32 bit alpha images (.TGA, .PNG, etc...)
Remarks
This function supports alpha 32 bit images (.TGA, .PNG, etc...)
Use the [RenderPicture] function to render the image to a Device Context