[Overview][Types][Classes][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TPrinterCanvas - instance of TCanvas specially designed for printers
Source position: printers.pas line 49
type TPrinterCanvas = class(TCanvas) |
||
protected |
||
procedure BeginDoc; virtual; |
|
|
procedure NewPage; virtual; |
|
|
procedure EndDoc; virtual; |
|
|
function GetLeftMargin; |
||
function GetTopMargin; |
||
function GetBottomMargin; |
||
function GetRightMargin; |
||
public |
||
constructor Create(); virtual; |
|
Create - constructor to make a canvas for the specified printer type, APrinter |
procedure Changing; override; |
|
|
|
The type of Printer for which this canvas is preparing the document |
|
property Title: String; [rw] |
|
The Title of the current printer canvas |
property PageHeight: Integer; [rw] |
|
The PageHeight to be used for the current canvas |
property PageWidth: Integer; [rw] |
|
The PageWidth to be used for the current canvas |
property PageNumber: Integer; [r] |
|
PageNumber - the number of the current page being prepared for printing |
property TopMargin: Integer; [rw] |
||
property LeftMargin: Integer; [rw] |
||
property BottomMargin: Integer; [rw] |
||
property RightMargin: Integer; [rw] |
||
end; |
|
TPrinterCanvas - instance of TCanvas specially designed for printers |
|
| | ||
|
TCanvas - where most of the drawing is performed |
|
| | ||
TFPCustomCanvas |
||
? | ||
TObject |
lazarus-ccr.sourceforge.net |