Create Layout object

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Aug/2014, at 13:24

To create a Layout object:

Use Page.GetLayout() in Page.vb:

Dim oLay = Page.GetLayout()

Use pageDesigner.Doc.GetView().GetLayout() in Edition.vb

Dim olay = pageDesigner.Doc.GetView().GetLayout()

Use pageDesigner.Doc.GetView().GetLayout() in Fred.vb

Dim olay = FredApp.ActivePageDispatcher.GetLayout

The data is stored into the user configuration (FramePW section, Layouts key).