 TsrvActionLayoutSideToSide
 TsrvActionLayoutSideToSide| << Click to display table of contents >> 
 | 
TsrvActionLayoutSideToSide switches TSRichViewEdit control to a "side to side" layout.
Unit SRVActions;
Syntax
TsrvActionLayoutSideToSide = class(TsrvActionCustomLayout)
| TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TrvCustomAction | 
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 | 
| True | |
| False | |
| True | 
This action also changes the following properties:
| Property | Assigned value | 
| Color | |
| PageProperty.BorderPen.Style | psSolid | 
| True | |
| True | |
| srvaphCenter | |
| srvapvCenter | |
| excludes [srvppdHPadding, srvppdVPadding], excluded/includes [srvppdPageHSpacing] depending on NoPageSpacing | 
This action also changes the following properties specific for a read mode:
| Property | Assigned value | 
| clNone | |
| False | 
After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.
See also: