Sign in Join
FPDoc Onlineexperiment

TPrinter.Abort procedure

Member of TPrinterpublicIn unit Printers

Terminates printing of the current document (when active).

Declaration

pascal
procedure Abort

Description

Abort is a procedure used to terminate printing of the current document (when active). Aborts calls CheckPrinting to ensure that Printing contains True. CheckPrinting raises an exception if Abort is called when BeginDoc has not been called.

Abort calls the DoAbort method to perform any actions needed for the class implementation.

Abort updates the PrinterFlags property to include the value pfAborted, and calls the EndDoc method to end printing for the current document.

See also

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