This document is archived and information here might be outdated.  Recommended version.

IPageLayout2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout2 Interface
ArcGIS Developer Help

IPageLayout2 Interface

Provides access to members that control the Page Layout. Note: the IPageLayout2 interface has been superseded by IPageLayout3. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Read/write property AlignToMargins Indicates if graphics will be aligned to the margins or to each other.
Method ClearContent Clears the elements without dismantling them.
Read/write property ContentProvider The object that is currently managing the content of the layout.
Method FocusNextMapFrame Focus the next map.
Method FocusPreviousMapFrame Focus the previous map.
Read-only property HorizontalSnapGuides The horizontal snapping guides.
Read-only property Page On-screen representation of the printer page.
Read-only property Printer The associated printer.
Method ReplaceMaps Replace the maps in the data frames with the specified maps. If there are more maps than frames, new frames are created. If there are fewer frames than maps, extra frames are cleared.
Read-only property RulerSettings The ruler settings.
Read-only property SnapGrid The snapping grid.
Read-only property VerticalSnapGuides The vertical snapping guides.
Read-only property ZoomPercent The current zoom percent. 100 means 1:1. 200 means twice normal size, etc.
Method ZoomToPercent Magnify the page by a certain percentage. 100 means actual size. 200 means twice normal size, etc.
Method ZoomToWhole Fit the whole page in the window.
Method ZoomToWidth Fit the width of the page to the screen.

Classes that implement IPageLayout2

Classes Description
PageLayout Page Layout class contains maps and map surrounds.