Class tcustomprinter
Unit
Declaration
type tcustomprinter = class(tmsecomponent, istatfile)
Description
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tcustomprinter
Overview
Fields
fcanvas: tprintercanvas; |
|
fcanceled: boolean; |
Methods
function handleexception(const e: exception; out again: boolean): boolean; |
|
procedure loaded; override; |
|
function getwindowsize: sizety; virtual; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure readstate(reader: treader); override; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
function getsize: sizety; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure beginprint(const adryrun: boolean = false); virtual; |
|
procedure endprint; virtual; |
Properties
property onerror: exceptioneventty read fonerror write fonerror; |
|
property canvas: tprintercanvas read fcanvas write setcanvas; |
|
property onpagestart: printereventty read fonpagestart write fonpagestart; |
|
property onpageend: printereventty read fonpageend write fonpageend; |
|
property pa_width: real read fpa_width write setpa_width; |
|
property pa_height: real read fpa_height write setpa_height; |
|
property pa_size: stdpagesizety read fpa_size write setpa_size nodefault; |
|
property pa_orientation: pageorientationty read fpa_orientation
write setpa_orientation default pao_portrait; |
|
property pa_frameleft: real read fpa_frameleft
write setpa_frameleft stored false; |
|
property pa_frametop: real read fpa_frametop
write setpa_frametop stored false; |
|
property pa_frameright: real read fpa_frameright
write setpa_frameright stored false; |
|
property pa_framebottom: real read fpa_framebottom
write setpa_framebottom stored false; |
|
property clientwidth: real read getclientwidth; |
|
property clientheight: real read getclientheight; |
|
property tabulators: tprintertabulators read ftabulators write settabulators; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read fstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property options: printeroptionsty read foptions write foptions
default defaultprinteroptions; |
Description
Fields
fcanvas: tprintercanvas; |
|
fcanceled: boolean; |
|
Methods
function handleexception(const e: exception; out again: boolean): boolean; |
|
procedure loaded; override; |
|
function getwindowsize: sizety; virtual; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure readstate(reader: treader); override; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
function getsize: sizety; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure beginprint(const adryrun: boolean = false); virtual; |
|
procedure endprint; virtual; |
|
Properties
property onerror: exceptioneventty read fonerror write fonerror; |
|
property canvas: tprintercanvas read fcanvas write setcanvas; |
|
property onpagestart: printereventty read fonpagestart write fonpagestart; |
|
property onpageend: printereventty read fonpageend write fonpageend; |
|
property pa_width: real read fpa_width write setpa_width; |
|
property pa_height: real read fpa_height write setpa_height; |
|
property pa_size: stdpagesizety read fpa_size write setpa_size nodefault; |
|
property pa_orientation: pageorientationty read fpa_orientation
write setpa_orientation default pao_portrait; |
|
property pa_frameleft: real read fpa_frameleft
write setpa_frameleft stored false; |
|
property pa_frametop: real read fpa_frametop
write setpa_frametop stored false; |
|
property pa_frameright: real read fpa_frameright
write setpa_frameright stored false; |
|
property pa_framebottom: real read fpa_framebottom
write setpa_framebottom stored false; |
|
property clientwidth: real read getclientwidth; |
|
property clientheight: real read getclientheight; |
|
property tabulators: tprintertabulators read ftabulators write settabulators; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read fstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property options: printeroptionsty read foptions write foptions
default defaultprinteroptions; |
|
Generated by PasDoc 0.16.0.