Sign in Join
FPDoc Onlineexperiment

TPrinter.DoSetOrientation procedure

Member of TPrinterprotectedIn unit Printers

Sets the page orientation for a printer device.

Declaration

pascal
procedure DoSetOrientation(aValue: TPrinterOrientation); virtual

Arguments

aValue

Page orientation applied to the print device.

Description

DoSetOrientation is a virtual procedure used to perform actions needed to set the page orientation for a print device. AValue is a value from the TPrinterOrientation enumeration applied to the print device. See TPrinterOrientation for more information about the enumeration values and their meanings. DoSetOrientation is called when a new value is assigned to the Orientation property.

In TPrinter, DoSetOrientation has an empty implementation. It must be overridden in a descendent class to perform actions needed for the operating system / widgetset / printer-related technology used in the implementation.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.