pagesetup TrvActionPageSetup

Properties   Events

Top  Previous  Next

TrvActionPageSetup is the action for "File | Page Setup" command.

Unit RichViewActions;

Syntax

TrvActionPageSetup = class(TrvCustomAction)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

Description

This action displays a page setup dialog.

This action does not work with the specific editor. It defines global page properties for the application.

This action is enabled in TRVAControlPanel.RVPrint is assigned, and there is at least one printer is installed in the system (Printer.Printers.Count>0).

The settings are stored:

margins are stored in TRVAControlPanel.RVPrint properties;

headers and footers are stored in the objects returned by RVA_HeaderInfo and RVA_FooterInfo functions;

other properties (paper size, orientation, source) are stored in the application's printing settings (in the object returned by Printer function).


RichView © Sergey Tkachenko