Partager via


LOADPICTURE( ) Function

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

LOADPICTURE([cFileName])

Return Values

Object

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.

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

GETPICT( ) | SAVEPICTURE( ) | Picture Property