Sign in Join
FPDoc Onlineexperiment

TPrinter.DoSetPaperName procedure

Member of TPrinterprotectedIn unit Printers

Performs actions needed to set the paper for the current printer to the specified name.

Declaration

pascal
procedure DoSetPaperName(aName: string); virtual

Arguments

aName

Paper name selected for the printer.

Description

DoSetPaperName performs actions needed to set the paper for the current printer to the specified name. DoSetPaperName is called when the paper name is assigned to the PaperName property in PaperSize.

In TPrinter, DoSetPaperName 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.

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