New Method

Description

Displays a dialog box that allows the end-user to create a new ImageFile object that contains one blank page.

Creating a new ImageFile object causes the new object to become active. If the active ImageFile object is unsaved, the end-user is prompted to save it before the new object is created.

No image file is associated with the object until you save it. The file type of the new object is the same as the file type of the active object.

Syntax

ImageFileObject.New

Example

This example creates a new image object.

'Create the image object
Dim As Object
Set Img = App.CreateImageViewerObject(1)
'Call the image object New Method
Img.New