Description

Creates a new McWindow for a given image and add it to the collection.

Return Type

A McWindow object.  

Syntax

object.Add ([ImageOrIndex])

The Add Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McWindows.
ImageOrIndexOptional. A Variant value.

A McImage object or a valid index in the image collection. If empty, the ActiveImage is used instead.

Remarks

The function will fail if ImageOrIndex is empty and there is no active image. When the function succeeds, the newly created McWindow becomes the ActiveWindow.