[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 51
type TPrinterCanvas = class(TCanvas) end; |
||
protected |
||
function GetLeftMargin; |
|
GetLeftMargin - returns the size of teh left margin |
function GetTopMargin; |
|
GetTopMargin - returns the size of the top margin |
function GetBottomMargin; |
|
GetBottomMargin - returns the size of the bottom margin |
function GetRightMargin; |
|
GetRightMargin - returns the size of the right margin |
public |
||
constructor Create(); virtual; |
|
Create - constructor to make a canvas for the specified printer type, APrinter |
procedure BeginDoc; virtual; |
|
BeginDoc - method to start printing a document |
procedure NewPage; virtual; |
|
NewPage - method to start printing a new page |
procedure EndDoc; virtual; |
|
EndDoc - method to finish printing a document |
procedure Changing; override; |
|
Changing - method for dealing with changes in printing staus |
|
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; [r] |
|
The PageHeight to be used for the current canvas |
property PageWidth: Integer; [r] |
|
The PageWidth to be used for the current canvas |
property PaperWidth: Integer; [rw] |
||
property PaperHeight: Integer; [rw] |
||
property PageNumber: Integer; [r] |
|
PageNumber - the number of the current page being prepared for printing |
property TopMargin: Integer; [rw] |
|
The size of the TopMargin |
property LeftMargin: Integer; [rw] |
|
The size of the LeftMargin |
property BottomMargin: Integer; [rw] |
|
The size of the BottomMargin |
property RightMargin: Integer; [rw] |
|
the size of the RightMargin |
property Orientation: TPrinterOrientation; [rw] |
||
property XDPI: Integer; [rw] |
||
property YDPI: Integer; [rw] |
||
|
TPrinterCanvas - instance of TCanvas specially designed for printers |
|
| | ||
|
TCanvas represents a drawing surface which might be attached to a visual control which might be displayed on the screen or to an offscreen bitmap. It contains a number of drawing functions. |
|
| | ||
TFPCustomCanvas |
||
? | ||
TObject |
lazarus-ccr.sourceforge.net |