[Overview][Types][Classes][Variables][Index] | Reference for unit 'Printers' (#lcl)

# TPrinterCanvas.Orientation

Orientation of the page on the selected paper.

## Declaration

Source position: printers.pas line 133

`public property TPrinterCanvas.Orientation : TPrinterOrientation read GetOrientation write SetOrientation;`

## Description

Orientation is a TPrinterOrientation property which indicates the orientation for the content on a page (canvas). For example:

poPortrait
  Long edge of the canvas is oriented to the vertical axis.
poReversePortrait
  Long edge of the canvas is oriented to the vertical axis with coordinates rotated 180 degrees. This is often referred to as "Mirror Printing".
poLandscape
  Long edge of the canvas is oriented to the horizontal axis.
poReverseLandscape
  Long edge of the canvas is oriented to the horizontal axis with coordinates rotated 180 degrees. This is often referred to as "Mirror Printing".

The value for the property is supplied by the Printer using the canvas to render document pages (when assigned). If Printer has not been assigned, an existing value in the property is used.

If the value for the property is changed, it is applied to the Printer device (when assigned).

## See also

TPrinter.Orientation |  | Orientation for the page on the paper.
TPrinterOrientation |  | Represents page orientations for printers.