Layout Object

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Jul/2015, at 17:55

The Layout object provides control over multi-page display in Fred.

Methods

ActivateUnderMouse MethodActivates the pasteboard under the current mouse position.
ActivatePageId MethodActivates a layout page by page id.
Spacing MethodSets pasteboard (grid) size.
PBBorder MethodSets extra space in millipoints between pasteboards.
GetMetrics MethodReturns data about pasteboards.
PageMove MethodChanges the position of the selected page open in the view layout.
PageClose MethodRemoves (closes) a page from the current layout.
ZoomFit MethodZooms the view.
Save MethodUpdates the specified layout preset.
Load MethodLoads the specified layout.
ShowDlg MethodOpens dialog box for presets.
Sort MethodSorts pages in the view.

Properties

Facing PropertySets or returns the status of the layout facing mode (left/right pages or centered)
Columns PropertySets of returns the number of columns are in the layout.
ActivePageIdx PropertySets or returns the index of the active page.
Pages PropertyReturns the number of pages open in the view layout.
Name PropertySets or returns the name of the current (last loaded) preset.

To create a Layout object

See Create Layout object.