Sign in Join
FPDoc Onlineexperiment

TPrinter.DoSetPaperRect function

Member of TPrinterprotectedIn unit Printers

Performs actions needed to set the dimensions for the paper.

Declaration

pascal
function DoSetPaperRect(aPaperRc: TPaperRect): Boolean; virtual

Arguments

aPaperRc

Rectangle with the physical dimensions for the paper.

Function result

True if the dimension for the paper were successfully applied.

Description

In TPrinter, DoSetPaperRect always returns False. 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.