Class tcustomprinter

Unit

Declaration

type tcustomprinter = class(tmsecomponent, istatfile)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fcanvas: tprintercanvas;
Protected fcanceled: boolean;

Methods

Protected function handleexception(const e: exception; out again: boolean): boolean;
Protected procedure loaded; override;
Protected function getwindowsize: sizety; virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure readstate(reader: treader); override;
Protected procedure dostatread(const reader: tstatreader); virtual;
Protected procedure dostatwrite(const writer: tstatwriter); virtual;
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Protected function getsize: sizety;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure beginprint(const adryrun: boolean = false); virtual;
Public procedure endprint; virtual;

Properties

Protected property onerror: exceptioneventty read fonerror write fonerror;
Public property canvas: tprintercanvas read fcanvas write setcanvas;
Public property onpagestart: printereventty read fonpagestart write fonpagestart;
Public property onpageend: printereventty read fonpageend write fonpageend;
Public property pa_width: real read fpa_width write setpa_width;
Public property pa_height: real read fpa_height write setpa_height;
Public property pa_size: stdpagesizety read fpa_size write setpa_size nodefault;
Public property pa_orientation: pageorientationty read fpa_orientation write setpa_orientation default pao_portrait;
Public property pa_frameleft: real read fpa_frameleft write setpa_frameleft stored false;
Public property pa_frametop: real read fpa_frametop write setpa_frametop stored false;
Public property pa_frameright: real read fpa_frameright write setpa_frameright stored false;
Public property pa_framebottom: real read fpa_framebottom write setpa_framebottom stored false;
Public property clientwidth: real read getclientwidth;
Public property clientheight: real read getclientheight;
Public property tabulators: tprintertabulators read ftabulators write settabulators;
Public property statfile: tstatfile read fstatfile write setstatfile;
Public property statvarname: msestring read fstatvarname write fstatvarname;
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
Public property options: printeroptionsty read foptions write foptions default defaultprinteroptions;

Description

Fields

Protected fcanvas: tprintercanvas;
 
Protected fcanceled: boolean;
 

Methods

Protected function handleexception(const e: exception; out again: boolean): boolean;
 
Protected procedure loaded; override;
 
Protected function getwindowsize: sizety; virtual;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure readstate(reader: treader); override;
 
Protected procedure dostatread(const reader: tstatreader); virtual;
 
Protected procedure dostatwrite(const writer: tstatwriter); virtual;
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Protected function getsize: sizety;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure beginprint(const adryrun: boolean = false); virtual;
 
Public procedure endprint; virtual;
 

Properties

Protected property onerror: exceptioneventty read fonerror write fonerror;
 
Public property canvas: tprintercanvas read fcanvas write setcanvas;
 
Public property onpagestart: printereventty read fonpagestart write fonpagestart;
 
Public property onpageend: printereventty read fonpageend write fonpageend;
 
Public property pa_width: real read fpa_width write setpa_width;
 
Public property pa_height: real read fpa_height write setpa_height;
 
Public property pa_size: stdpagesizety read fpa_size write setpa_size nodefault;
 
Public property pa_orientation: pageorientationty read fpa_orientation write setpa_orientation default pao_portrait;
 
Public property pa_frameleft: real read fpa_frameleft write setpa_frameleft stored false;
 
Public property pa_frametop: real read fpa_frametop write setpa_frametop stored false;
 
Public property pa_frameright: real read fpa_frameright write setpa_frameright stored false;
 
Public property pa_framebottom: real read fpa_framebottom write setpa_framebottom stored false;
 
Public property clientwidth: real read getclientwidth;
 
Public property clientheight: real read getclientheight;
 
Public property tabulators: tprintertabulators read ftabulators write settabulators;
 
Public property statfile: tstatfile read fstatfile write setstatfile;
 
Public property statvarname: msestring read fstatvarname write fstatvarname;
 
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
 
Public property options: printeroptionsty read foptions write foptions default defaultprinteroptions;
 

Generated by PasDoc 0.16.0.