Class TPrintableRV (unit PtblRV) |
Inherits from
TRichView
------------------------------------------------------------
constructor Create(AOwner: TComponent);
- Public declarations
==================================================================
destructor Destroy;
------------------------------------------------------------------
procedure DrawPage(pgNo: Integer; Canvas: TCanvas);
------------------------------------------------------------------
function FormatPages: Integer;
------------------------------------------------------------------
procedure Print(Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
procedure PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
event OnFormatting : TRVPrintingEvent
Published declarations
event OnSendingToPrinter : TRVPrintingEvent
FBottomMarginMM : Integer;
FLeftMarginMM : Integer;
FOnFormatting : TRVPrintingEvent;
Private declarations
FOnPrinting : TRVPrintingEvent;
FRightMarginMM : Integer;
FTopMarginMM : Integer;
pagescoll : TCollection;
PrinterSad : TScreenAndDevice;
TmpBM : Integer;
TmpLM : Integer;
TmpRM : Integer;
TmpTM : Integer;
constructor Create(AOwner: TComponent);
Public declarations
==================================================================
destructor Destroy;
------------------------------------------------------------------
procedure DrawPage(pgNo: Integer; Canvas: TCanvas);
------------------------------------------------------------------
function FormatPages: Integer;
------------------------------------------------------------------
procedure Print(Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
procedure PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
event OnFormatting : TRVPrintingEvent
Published declarations
event OnSendingToPrinter : TRVPrintingEvent
FBottomMarginMM : Integer;
FLeftMarginMM : Integer;
FOnFormatting : TRVPrintingEvent;
Private declarations
FOnPrinting : TRVPrintingEvent;
FRightMarginMM : Integer;
FTopMarginMM : Integer;
pagescoll : TCollection;
PrinterSad : TScreenAndDevice;
TmpBM : Integer;
TmpLM : Integer;
TmpRM : Integer;
TmpTM : Integer;