TsrvActionCustomLayout

Properties   Events  | Actions overview

<< Click to display table of contents >>

TsrvActionCustomLayout

Properties   Events  | Actions overview

TsrvActionCustomLayout is a base class for actions changing view modes for TSRichViewEdit control.

Unit SRVActions;

Syntax

TsrvActionCustomLayout = class(TsrvCustomActionThatNeedsDocProps)

hmtoggle_arrow1Hierarchy

Description

This action is not used directly.

The following actions are inherited from it:

TsrvActionLayoutDraft

TsrvActionLayoutWeb

TsrvActionLayoutPrint

TsrvActionLayoutSideToSide

TsrvActionLayoutRead

After the action changes a layout, OnExecuted event occurs.

These action use TrvActionSave to store additional information for the document in the target editor.

Comparison of layouts

Parameter

Draft

Web layout

Print layout

Side to side

Read mode

Multiple pages

 

 

+

+

+

Pages are displayed at their original size (with zoom applied)

 

 

+

+

 

Page width depends on editor width

 

+

 

 

+

Page height depends on editor height

 

 

 

 

+

Auto zoom

 

 

 

+

 

Zoom scales content without scaling pages

(zoom does not affect page width)

 

+

 

 

+

Page flip effects

 

 

 

+

+