DataGate Print File Designer® - Build 8.0.355 and above

PrintFile.Orientation Property

The Orientation property indicates the printer's page orientation.

printfile.Orientation [=ASNA.DataGate.Common.PaperOrientation]

Property Value

ASNA.DataGate.Common.PaperOrientation.  Gets or sets the enumeration value indicating the print page orientation.

Remarks

In design-time, when this property is changed, the PaperLength and PaperWidth are updated, depending also on PaperSize.  For example, if PaperSize is letter and Orientation is portrait, PaperLength would be 11 and PaperWidth would be 8.5.  However, if Orientation is landscape, PaperLength would be 8.5 and PaperWidth would be 11.

To set the Orientation property, click on the right side of the property and choose one of the options in the drop-down box.


Setting Description
Default (Default) The printer's default orientation setting will be used.
Portrait The page height is greater than the width.
Landscape The page width is greater than the height.

See Also

PrintFile Class | PrintFile Class Members | ASNA.DataGate.Common.PaperOrientation Enumeration | PaperLength Property | PaperWidth Property | PaperSize Property