LOADPICTURE( ) Function

JavaScript Editor js editor     Web development 



Main Page

Creates an object reference for a bitmap, icon, or Windows meta file.

LOADPICTURE([cFileName])

Parameters

cFileName


Specifies the bitmap (.bmp), icon (.ico), or Windows metafile (.wmf) file for which an object reference is created. If cFileName is omitted, the null picture is returned. You can include GETPICT(В ) as cFileName to display the Open dialog from which you can choose a bitmap (.bmp) file.

Return Value

Object

Remarks

Many presentation properties of ActiveX controls require an object reference for their settings. For example, the ActiveX Outline control supports the PictureOpen property that requires an object reference for its setting.

See Also



JavaScript Editor js editor     Web development