Print Method

Description Prints the image file associated with the ImageFile object. You can optionally display a dialog box to allow the end-user to select the print options.

Syntax ImageFileObject.Print ([DisplayUIFlag])

Remarks The Print method DisplayUIFlag argument has the following settings:

Setting Description
True Displays a dialog box that allows the end-user to select print file options
False (Default) No dialog box is displayed

Example This example prints the specified image file.

x = Img.Print
Pages Method
Description    Returns the Page or PageRange object for the ImageFile object.
Syntax    ImageFileObject.Pages(pagenumber [, pagenumber])(StartPage, EndPage)
Data Type    ObjectLong
Remarks      If you specify one page number, this method returns a Page object.   If you specify two page numbers, this method returns a PageRange object.   To return a range of pages, specify the starting page number and ending page number.   The first page number can be a variable, but the second page number must be a constant.
The Pages method uses these parameters:
ParameterData TypeDescriptionStartPageLongEndPageLong
Example      This example returns a Page object and a PageRange object.
Dim Page As Object
Dim PageRange As Object
Set Page = Img.Pages(1)
Set PageRange = Img.Pages(1,3)

Print Method
Description    Prints the image file associated with the ImageFile object.   You can optionally display a dialog box to allow the end-user to select the print options.
Syntax      ImageFileObject.Print ([dialogflagDisplayUIFlag])
Remarks    The Print method dialogflag DisplayUIFlag argument has the following settings:
SettingDescriptionTrueDisplays a dialog box that allows the end-user to select print file options.False(Default)   No dialog box is displayed.Example      This example prints the specified image file.
x = Img.Print