|
|
Top Previous Next |
|
TrvActionPrint is the action for "File | Print..." command.
Unit RichViewActions; Syntax TrvActionPrint = class(TrvCustomPrintAction) Hierarchy TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction Description This action displays a printing dialog (TPrintDialog) and prints the document from TCustomRichViewEdit component. This action uses settings defined in TrvActionPageSetup. If TRVAControlPanel.RVPrint is not assigned, the action uses the first TRVPrint component found on the form owning the TCustomRichViewEdit component. If not found, it creates a temporal TRVPrint with default property settings. The action can print the whole document, the range of pages, or the selected fragment, depending on the user's choice. This action is enabled only if at least one printer is installed in the system (Printer.Printers.Count>0). See also: |