Function TWPCustomRtfEdit.Print(aPrinter:TPrinter) : Boolean

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • aPrinter:TPrinter

Returns

The type of the result value is Boolean.

Description

This function can be used to print the text. Normally it prints all pages. To print only the odd or even pages set the Property PrintParameter.PageSides to wpsOdd or wpsEven. Alternatively alternatively pass as Range @@ODD@@ and @@EVEN@@!
The function can also print pages from a list of pages (1,2,5,6). The list has to be passed as string parameter. The property PrintParameter.PageSides will be ignored in this case. PrintParameter.PageSides will be also ignored by function (from_page, to_page).

Overloaded Methods

Function TWPCustomRtfEdit.Print(PageRange:string; aPrinter:TPrinter) : Boolean