PrintOrientation Property

Returns or sets the the orientation of the printed page(s), which is displayed in the Print Dialog box.

Available With

Ö Imaging for Windows Professional Edition V2.0
Imaging for Windows Professional Edition V1.0 and V1.1
Imaging for Windows 95 and 98
Imaging for Windows NT 4.0

Applies To

Image Admin control

Syntax

object.PrintOrientation[=value]

Data Type

PrintOrientationValue (Integer)

Constant Setting Description

PrintPortrait 0 Portrait
PrintLandscape 1 Landscape
PrintAutomatic 2 (default) Automatic the best orientation for each page is determined by the PrintImage method (Image Edit control)

Remarks

The value set by this property is displayed when the Print dialog box is first opened. The user can then accept or change that value.

The Print dialog box is created by the ShowPrintDialog method.