This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.PageLayout Property (ArcObjects .NET 10.4 SDK) |
The page layout.
[Visual Basic .NET] Public Property PageLayout As IPageLayout
[C#] public IPageLayout PageLayout {get; set;}
This method returns an IPageLayout reference to the PageLayout object. The page layout is the visual representation of a map. A typical page layout is composed of a page and many elements including data, graphics, and text.
From an object point of view, the PageLayout object has a Page object and a collection of Element objects. The page is used to manage page size and printing. Element objects include MapFrames, GraphicElements, and TextElements. Anything that can be placed on a map is a type of element.
Athough, you can programmatically create your own page layout and assign it to the map document, the general practice is to modify the existing one.
IMxDocument Interface | IPageLayout Interface