TPrinter.DoGetPaperName function
Performs action needed to get the selected paper name for the current printer.
Declaration
function DoGetPaperName: string; virtualFunction result
Name of the paper selected for the current printer.
Description
DoGetPaperName is a virtual
String function which
performs action needed to get the selected paper name for the current
printer. DoGetPaperName is called when the value for the
TPaperSize.PaperName property in the printer is read.
In
TPrinter, DoGetPaperName always returns an empty string
(''). 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.
