a_portrait TsrvActionOrientationPortrait

Properties  | Actions overview

<< Click to display table of contents >>

a_portrait TsrvActionOrientationPortrait

Properties  | Actions overview

TsrvActionOrientationPortrait applies a portrait page orientation the the document in the target editor.

Unit SRVActions;

Syntax

TsrvActionOrientationPortrait = class(TsrvAction)

hmtoggle_arrow1Hierarchy

Description

This action assigns PageProperty.Orientation := poPortrait.

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:

TsrvActionOrientationLandscape