TPrinterCanvas.Orientation property
Orientation of the page on the selected paper.
Declaration
property 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
