A_layoutdraft TsrvActionLayoutDraft

Properties   Events  | Actions overview

Top  Previous  Next

TsrvActionLayoutDraft switches TSRichViewEdit control to a "draft" layout.

Unit SRVActions;

Syntax

TsrvActionLayoutDraft = class(TsrvActionCustomLayout)

hmtoggle_arrow1Hierarchy

Description

The main changes made by this action for TSRichViewEdit control:

PageProperty.PageViewMode := False;

PageProperty.AutoWidth := False;

 This action also changes the following properties:

Color;

PageProperty.BoundLeftRight (see BoundLeftRight property);

ViewProperty.ShowScrollHint;

BackgroundProperty.Visible;

ViewProperty.AlignPageH;

ViewProperty.AlignPageV;

PageProperty.BorderPen.Style;

PageProperty.HeaderVisible, PageProperty.FooterVisible (hides header and footer).

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

See also:

TsrvActionLayoutWeb

TsrvActionLayoutPrint


ScaleRichView © trichview.com