CreateImageViewerObject Method

Description Creates and returns an ImageFile object.   The ImageFile object is empty, with no image file associated with it.   Use the object's Open or New method to associate a specific image file.

Syntax ApplicationObject.CreateImageViewerObject(objectclass)([ObjectClass])

Data TypeObject

Remarks The only object supported by this method is the ImageFile object, for which the setting is 1.

Example This example creates an ImageFile object.

Dim Img as Object
Set Img = App.CreateImageViewerObject(1)