Vcl.Printers.TPrinter.Orientation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Orientation: TPrinterOrientation read GetOrientation write SetOrientation;

C++

__property System::Uitypes::TPrinterOrientation Orientation = {read=GetOrientation, write=SetOrientation, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Printers.pas
Vcl.Printers.hpp
Vcl.Printers TPrinter

Description

Determines if the print job prints vertically or horizontally on a page.

Use Orientation to determine if a print job prints in landscape or portrait.

Code Examples