 TsrvActionLayoutPrint
 TsrvActionLayoutPrint| << Click to display table of contents >> 
 | 
TsrvActionLayoutPrint switches TSRichViewEdit control to a "print layout".
Unit SRVActions;
Syntax
TsrvActionLayoutPrint = 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 arranged in rows and columns (no more than the target editor's PagePosProperty.MaxPageColCount pages in a row), scrolled vertically.
The main changes made by this action for TSRichViewEdit control:
| Property | Assigned value | 
| True | |
| False | |
| False | 
This action also changes the following properties:
| Property | Assigned value | 
| Color | |
| PageProperty.BorderPen.Style | psSolid | 
| True | |
| True | |
| srvaphCenter | |
| srvaphCenter | |
| excludes [srvppdHPadding, srvppdVPadding, srvppdPageHSpacing] | 
After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.
See also: