a_layoutsidetoside TsrvActionLayoutSideToSide

Properties   Events  | Actions overview

<< Click to display table of contents >>

a_layoutsidetoside TsrvActionLayoutSideToSide

Properties   Events  | Actions overview

TsrvActionLayoutSideToSide switches TSRichViewEdit control to a "side to side" layout.

Unit SRVActions;

Syntax

TsrvActionLayoutSideToSide = class(TsrvActionCustomLayout)

hmtoggle_arrow1Hierarchy

Description

In this mode, a document is shown using the target editor's page size and orientation (defined in PageProperty). Pages are shown completely, are arranged in one row, are scrolled horizontally with a special transition effect.

The main changes made by this action for TSRichViewEdit control:

Property

Assigned value

PageProperty.PageViewMode

True

PageProperty.AutoWidth

False

ReadModeProperty.Active

True

This action also changes the following properties:

Property

Assigned value

Color

Color

PageProperty.BorderPen.Style

psSolid

PagePosProperty.HPadding

HPadding

BackgroundProperty.Visible

True

ViewProperty.ShowScrollHint

True

PagePosProperty.AlignPageH

srvaphCenter

PagePosProperty.AlignPageV

srvapvCenter

PageProperty.HeaderVisible

HeaderVisible

PageProperty.FooterVisible

FooterVisible

PagePosProperty.HiddenDistances

excludes [srvppdHPadding, srvppdVPadding], excluded/includes [srvppdPageHSpacing] depending on NoPageSpacing

This action also changes the following properties specific for a read mode:

Property

Assigned value

ReadModeProperty.PageFlipEffect

PageFlipEffect

ReadModeProperty.PageColor

clNone

ReadModeProperty.HidePageBackgroundImage

False

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

See also:

TsrvActionLayoutDraft

TsrvActionLayoutWeb

TsrvActionLayoutPrint

TsrvActionLayoutRead