Search
Box.LoadPicture Method
See Also
 



Loads an image from the specified file and assigns it to the box' Picture.

 Syntax

VB6  Copy Code

Public Sub LoadPicture( _
    ByVal FileName As String _
)

C++  Copy Code

public:
void LoadPicture (
    BSTR FileName
)

 Parameters

FileName

The name of the image file to load from.

 Remarks

Loads an image from file and assigns it to box' Picture. The file format can be any of OleLoadPicture supported image formats, such as ico, gif, jpeg, wmf, emf, bmp. Since v4.9.6, the control can also load png images through the Windows Imaging Component API.

 See Also