a_layoutprint TsrvActionLayoutPrint

Properties   Events  | Actions overview

Top  Previous  Next

TsrvActionLayoutPrint switches TSRichViewEdit control to a "print layout".

Unit SRVActions;

Syntax

TsrvActionLayoutPrint = class(TsrvActionCustomLayout)

hmtoggle_arrow1Hierarchy

Description

The main changes made by this action for TSRichViewEdit control:

PageProperty.PageViewMode := True;

PageProperty.AutoWidth := False;

 This action also changes the following properties:

Color (see Color property);

PageProperty.BoundLeftRight (see BoundLeftRight property);

ViewProperty.ShowScrollHint;

BackgroundProperty.Visible;

ViewProperty.AlignPageH;

ViewProperty.AlignPageV;

PageProperty.BorderPen.Style;

PageProperty.HeaderVisible, PageProperty.FooterVisible (see HeaderVisible and FooterVisible properties).

After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.

See also:

TsrvActionLayoutWeb

TsrvActionLayoutDraft


ScaleRichView © trichview.com