Class TRVPrint (unit PtblRV) |
Inherits from
TComponent
------------------------------------------------------------
constructor Create(AOwner: TComponent);
- ==================================================================
procedure AssignSource(PrintMe: TRichView);
------------------------------------------------------------------
procedure Clear;
------------------------------------------------------------------
function FormatPages(PrintOptions:TRVDisplayOptions): Integer;
------------------------------------------------------------------
procedure MakePreview(pgNo: Integer; bmp: TBitmap);
------------------------------------------------------------------
procedure Print(Title: String; Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
procedure PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
function GetBM: Integer;
------------------------------------------------------------------
function GetLM: Integer;
------------------------------------------------------------------
function GetPagesCount: Integer;
------------------------------------------------------------------
function GetRM: Integer;
------------------------------------------------------------------
function GetTM: Integer;
------------------------------------------------------------------
procedure SetBM(mm: Integer);
------------------------------------------------------------------
procedure SetLM(mm: Integer);
------------------------------------------------------------------
procedure SetRM(mm: Integer);
------------------------------------------------------------------
procedure SetTM(mm: Integer);
------------------------------------------------------------------
property BottomMarginMM : Integer
property LeftMarginMM : Integer
property PagesCount : Integer
Published declarations
property RightMarginMM : Integer
property TopMarginMM : Integer
event OnFormatting : TRVPrintingEvent
event OnSendingToPrinter : TRVPrintingEvent
rv : TPrintableRV;
Public declarations
FOnFormatting : TRVPrintingEvent;
Private declarations
FOnPrinting : TRVPrintingEvent;
constructor Create(AOwner: TComponent);
==================================================================
procedure AssignSource(PrintMe: TRichView);
------------------------------------------------------------------
procedure Clear;
------------------------------------------------------------------
function FormatPages(PrintOptions:TRVDisplayOptions): Integer;
------------------------------------------------------------------
procedure MakePreview(pgNo: Integer; bmp: TBitmap);
------------------------------------------------------------------
procedure Print(Title: String; Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
procedure PrintPages(firstPgNo, lastPgNo: Integer; Title: String;
Copies: Integer; Collate: Boolean);
------------------------------------------------------------------
function GetBM: Integer;
------------------------------------------------------------------
function GetLM: Integer;
------------------------------------------------------------------
function GetPagesCount: Integer;
------------------------------------------------------------------
function GetRM: Integer;
------------------------------------------------------------------
function GetTM: Integer;
------------------------------------------------------------------
procedure SetBM(mm: Integer);
------------------------------------------------------------------
procedure SetLM(mm: Integer);
------------------------------------------------------------------
procedure SetRM(mm: Integer);
------------------------------------------------------------------
procedure SetTM(mm: Integer);
------------------------------------------------------------------
property BottomMarginMM : Integer
property LeftMarginMM : Integer
property PagesCount : Integer
Published declarations
property RightMarginMM : Integer
property TopMarginMM : Integer
event OnFormatting : TRVPrintingEvent
event OnSendingToPrinter : TRVPrintingEvent
rv : TPrintableRV;
Public declarations
FOnFormatting : TRVPrintingEvent;
Private declarations
FOnPrinting : TRVPrintingEvent;