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


IMxDocument.PageLayout Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcMapUI)  

IMxDocument.PageLayout Property

The page layout.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

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 Snippets

Get PageLayout from ArcMap

.NET Samples

Create a custom selection extension by extending ArcObjects (Code Files: SelectionExtension)