ArcObjects Component Help  (Core)    

PageLayout CoClass

Page Layout.

Interfaces

Interfaces Description
IActiveView Provides access to members that control the active view - the main application window.
IConnectionPointContainer
IDisplayAdmin Provides access to members that control display administration.
IGraphicsContainer Provides access to members that control the Graphics Container.
IGraphicsContainerSelect Provides access to members that control graphic container selection.
IGraphicSnapEnvironment Provides access to members that control the Collection of snap agents used for snapping graphics.
IPageEvents Provides access to events that occur when the Page changes.
IPageLayout Provides access to members that control the Page Layout.
IPageLayout2 Provides access to members that control the Page Layout.
IPersist
IPersistStream
ISelectionEvents Provides access to events that occur when the selection changes.
ITransformEvents Provides access to members that control Transform Events.
IViewManager Provides access to members used to describe or define view behavior.

Event Interfaces

Interfaces Description
IActiveViewEvents (default) Provides access to events that occur when the state of the active view changes.

Remarks

The PageLayout manages the layout of a hard copy output page.  The PageLayout has a collection of elements organized as follows:

    Printer - A reference to te application's printer.  Managaes paper size, margins, and other settings.
    Page - Manages the visual (on screen) representation of the printer page.
    Elements - A list of map elements that are drawn on the page.
    Graphics - A list of graphic elements that are drawn on the page.

ArcMap's layout view corresponds to the PageLayout object, and like all views, the PageLayout implements the IActiveView interface allowing it to take control of the main application window.

Working with Events

[VB6]

When working with PageLayout's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pPageLayout as PageLayout