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

IMxDocument.PageLayout Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.PageLayout Property
ArcGIS Developer Help

IMxDocument.PageLayout Property

The page layout.

[Visual Basic .NET]
Public Property PageLayout As IPageLayout
public IPageLayout PageLayout {get; set;}

Product Availability

Available with ArcGIS Desktop.


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.

See Also

IMxDocument Interface | IPageLayout Interface

.NET Samples

Create a custom selection extension by extending ArcObjects