Description

Adds the specified image to the collection, using the specified color to generate the mask.

Syntax

object.Add( filename, color )

Parameters

filename - a required string expression specifying the fully qualified filename of the image to be added into the collection.

color - an optional variant expression specifying one of the Color values.

Return Value

The index of the newly added image or -1 if the the image could not be added.

See Also

Applies To: Images


The CHM file was converted to HTML by chm2web software.