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

TPrinter.RawModeChanging

Performs actions needed when a new value is assigned to RawMode.

Declaration

Source position: printers.pas line 302

protected procedure TPrinter.RawModeChanging; virtual;

Description

RawModeChanging is a virtual procedure used to perform actions needed when a new value is assigned for the RawMode property. RawModeChanging is called from the SetRawMode method, and occurs after checking the value in Printing and before changing values in PrinterFlags. It is useful when switching from RawMode (which does not require a printer Canvas) to using a page description language like Postscript (which requires a specialized printer Canvas).

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

See also

TPrinter.RawMode

  

Indicates if raw output is used for the device (as opposed to a page description language).

TPrinter.Printing

  

True if the document is currently being printed.

TPrinter.PrinterFlags

  

Status flags currently enabled for the print device.

TPrinter.Canvas

  

The Canvas to be used for laying out the current document ready for printing.

TPrinterCanvas

  

Implements a canvas used for TPrinter device output.


Version 3.2 Generated 2024-02-25 Home