ShowPhotoPrintingWizard Method

Starts the Photo Printing Wizard with the absolute path of a specific file or Vector of absolute paths to files.

Syntax

  object.ShowPhotoPrintingWizard( _
    Files As Variant)

Parameters

  • Files
    Required. Variant value.

Remarks

The following example shows how to launch the Photo Printing Wizard to print some of the sample pictures from Microsoft Windows XP.


Dim v 'As Vector

Set v = CreateObject("WIA.Vector")

v.Add "C:\WINDOWS\Web\Wallpaper\Ascent.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Autumn.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Azul.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Follow.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Red moon desert.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Stonehenge.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Tulips.jpg"
v.Add "C:\WINDOWS\Web\Wallpaper\Wind.jpg"

CommonDialog1.ShowPhotoPrintingWizard v

Method Information

Minimum operating systems Windows XP SP1

See Also

CommonDialog