Sign in Join
FPDoc Onlineexperiment

TPrinter.Copies property

Member of TPrinterpublicIn unit Printers

Number of Copies of the current document.

Declaration

pascal
property Copies: Integer read GetCopies write SetCopies;

Description

Copies is an Integer property which indicates the number of times a page is duplicated during the printing process. Copies is one the TPrinterCapabilities which may be supported for a print device.

In TPrinter, Copies always contains the value 1. The DoGetCopies and DoSetCopies methods are used to provide support for the printer capability. They are declared as virtual methods, and must be overridden in a descendent class to implement the feature.

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