a_layoutprint TsrvActionLayoutPrint

Properties   Events  | Actions overview

<< Click to display table of contents >>

a_layoutprint TsrvActionLayoutPrint

Properties   Events  | Actions overview

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:

Property

Assigned value

PageProperty.PageViewMode

True

PageProperty.AutoWidth

False

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

srvaphCenter

PageProperty.HeaderVisible

HeaderVisible

PageProperty.FooterVisible

FooterVisible

PagePosProperty.HiddenDistances

excludes [srvppdHPadding, srvppdVPadding]

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

See also:

TsrvActionLayoutWeb

TsrvActionLayoutDraft