The Layout object provides control over multi-page display in Fred.
Methods
| ActivateUnderMouse Method | Activates the pasteboard under the current mouse position. |
| ActivatePageId Method | Activates a layout page by page id. |
| Spacing Method | Sets pasteboard (grid) size. |
| PBBorder Method | Sets extra space in millipoints between pasteboards. |
| GetMetrics Method | Returns data about pasteboards. |
| PageMove Method | Changes the position of the selected page open in the view layout. |
| PageClose Method | Removes (closes) a page from the current layout. |
| ZoomFit Method | Zooms the view. |
| Save Method | Updates the specified layout preset. |
| Load Method | Loads the specified layout. |
| ShowDlg Method | Opens dialog box for presets. |
| Sort Method | Sorts pages in the view. |
Properties
| Facing Property | Sets or returns the status of the layout facing mode (left/right pages or centered) |
| Columns Property | Sets of returns the number of columns are in the layout. |
| ActivePageIdx Property | Sets or returns the index of the active page. |
| Pages Property | Returns the number of pages open in the view layout. |
| Name Property | Sets or returns the name of the current (last loaded) preset. |
To create a Layout object
See Create Layout object.