![]() |
This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the Page Layout. Note: the IPageLayout interface has been superseded by IPageLayout3. Please consider using the more recent version.
Name | Description | |
---|---|---|
![]() |
AlignToMargins | Indicates if graphics will be aligned to the margins or to each other. |
![]() |
FocusNextMapFrame | Focus the next map. |
![]() |
FocusPreviousMapFrame | Focus the previous map. |
![]() |
HorizontalSnapGuides | The horizontal snapping guides. |
![]() |
Page | The page. |
![]() |
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. |
![]() |
RulerSettings | The ruler settings. |
![]() |
SnapGrid | The snapping grid. |
![]() |
VerticalSnapGuides | The vertical snapping guides. |
![]() |
ZoomPercent | The current zoom percent. 100 means 1:1. 200 means twice normal size, etc. |
![]() |
ZoomToPercent | Magnify the page by a certain percentage. 100 means actual size. 200 means twice normal size, etc. |
![]() |
ZoomToWhole | Fit the whole page in the window. |
![]() |
ZoomToWidth | Fit the width of the page to the screen. |
Classes | Description |
---|---|
PageLayout | Page Layout class contains maps and map surrounds. |
The IPageLayout interface is the primary interface implemented by the ArcMap PageLayout object.
The PageLayout object is very similar to the Map object. Both are views, meaning they take control of the main application window; both are also graphics containers, meaning they can store graphical elements. If there is no map activated in layout view (IMxDocument::ActivatedView), all new graphic elements are added to the PageLayout. If a Map is activated, graphic elements are added to the focus map (IMxDocument::FocusMap).
Use this interface to access the RulerSettings, the SnapGrid, the SnapGuides, and the Page objects created and maintained by the PageLayout.
IPageLayout also has methods for zooming the view and changing the focus map.
See also the help for IPage, IRulerSettings, ISnapGrid, ISnapGuides and the examples in the Carto library overview.