a_landscape TsrvActionOrientationLandscape

Properties  | Actions overview

<< Click to display table of contents >>

a_landscape TsrvActionOrientationLandscape

Properties  | Actions overview

TsrvActionOrientationLandscape applies a landscape page orientation the the document in the target editor.

Unit SRVActions;

Syntax

TsrvActionOrientationLandscape = class(TsrvAction)

hmtoggle_arrow1Hierarchy

Description

This action assigns PageProperty.Orientation := poLandscape.

If PageProperty.PageFormat = srvfmCustom, and PageProperty.PageWidth < PageProperty.PageHeight, the action exchanges values of these properties.

The properties are changed as an editing operation (undoable).

See also:

TsrvActionOrientationPortrait