Class TPrintableRV (unit PtblRV)

Inherits from

TRichView

------------------------------------------------------------

Constructors


constructor Create(AOwner: TComponent);

Public declarations

==================================================================



Functions

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);

------------------------------------------------------------------

Properties

Events

event OnFormatting : TRVPrintingEvent

Published declarations

event OnSendingToPrinter : TRVPrintingEvent


Variables

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;



Constructors


constructor Create(AOwner: TComponent);

Public declarations

==================================================================


Functions


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);

------------------------------------------------------------------


Properties


Events


event OnFormatting : TRVPrintingEvent

Published declarations


event OnSendingToPrinter : TRVPrintingEvent


Variables


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;