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).