rvico TRichView Reference | TRVPrint

TRVPrint.Print

Top  Previous  Next

Prints the whole document

procedure Print(Title: String; Copies: Integer; Collate: Boolean);

This method takes MinPrintedItemNo and MaxPrintedItemNo properties into account.

Parameters

Title – the text that is listed in the Print Manager when printing.

Copies –  specifies the number of copies to print.

Collate –  if more than one copy is selected, specifies whether you want the copies to be collated.

Assign the source document for printing (AssignSource method) and format pages (FormatPages method) before calling this method.

Print(Title, Copies, Collate)

is equivalent to

PrintPages(1, PagesCount, Title, Copies, Collate)

See also methods:

PrintPages;

See also events:

OnSendingToPrinter;

OnPrintComponent;

OnPagePrepaint;

OnPagePostpaint.


TRichView © trichview.com