Programming with Reflection
PrinterOrientation property
Syntax |
|
Works with |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) the printer page orientation used by Reflection. Changing the value of this property affects printing done by Reflection, but does not change your operating system's printer settings.
For example, to have Reflection print using landscape orientation:
Session.PrinterOrientation = rcLandscapeOrientation
The default value is rcDefaultOrientation.
rcDefaultOrientation Pages are printed using the page orientation specified in the system-wide printer settings.
rcPortraitOrientation Pages are printed using portrait orientation.
rcLandscapeOrientation Pages are printed using landscape orientation.
When the PrinterColumnsSetOrientation property is True, Reflection automatically sets printer page orientation based on the current value of the PrinterColumns property.