[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TCustomPrintDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCustomPrintDialog - base class for TPrintDialog.

## Declaration

Source position: dialogs.pp line 456

`type TCustomPrintDialog = class(TCommonDialog)`
`public`
`constructor Create(); override;` |  |
`property Collate: Boolean; [rw]` |  | If True, printer will be asked to Collate pages if multiple copies are produced
`property Copies: Integer; [rw]` |  | Number of Copies of the document
`property FromPage: Integer; [rw]` |  | FromPage - first page of selection for printing
`property MinPage: Integer; [rw]` |  | MinPage - smallest number of page in print range
`property MaxPage: Integer; [rw]` |  | MaxPage - highest number of page in print range
`property Options: TPrintDialogOptions; [rw]` |  | The seet of Options for printing
`property PrintToFile: Boolean; [rw]` |  | PrintToFile - if True, printing is spooled to a file instead of the printer
`property PrintRange: TPrintRange; [rw]` |  | PrintRange - the range of pages for printing
`property ToPage: Integer; [rw]` |  | ToPage - the final page number in the range for printing
`end;`

## Inheritance

`TCustomPrintDialog` |  | TCustomPrintDialog - base class for TPrintDialog.
`TCommonDialog` |  | TCommonDialog : the base type from which other dialogs are derived
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .