| 
       << Click to display table of contents >> 
     | 
    
TsrvActionLayoutDraft switches TSRichViewEdit control to a "draft" layout.
Unit SRVActions;
Syntax
TsrvActionLayoutDraft = class(TsrvActionCustomLayout)
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TrvCustomAction  | 
In this mode, a document is shown using the target editor's PageProperty.PageWidth, but as a long single page.
The main changes made by this action for TSRichViewEdit control:
Property  | 
Assigned value  | 
False  | 
|
False  | 
|
False  | 
This action also changes the following properties:
Property  | 
Assigned value  | 
Color  | 
clWhite  | 
PageProperty.BorderPen.Style  | 
psClear  | 
False  | 
|
True  | 
|
srvaphLeft  | 
|
srvapvTop  | 
|
False  | 
|
False  | 
|
excludes [srvppdHPadding, srvppdVPadding, srvppdPageHSpacing]  | 
After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.
See also: