Picture.Based on file

Syntax:

New Picture(<FileName>, <Transparent>)

Parameters:

<FileName> (required)

Type: String.
File name from which a picture will be loaded.

<Transparent> (optional)

Type: Boolean.
You can use it to define if a picture will have transparent areas.
You can use it only for pictures whose format does not support transparency.
The last pixel color (right-hand bottom) is taken as the background color.
Default value: False.

Description:

You can use it to create an object and load a picture from a specified picture file.
In the Web client mode, the constructor is not used.

Example:

Picture = New Picture("C:\My Documents\My Pictures\home.gif");

    

1C:Enterprise Developer's Community