IPage Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPage Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IPage Interface

Provides access to members that control the Page.

Product Availability

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

Members

Name Description
Read/write property Background The page background.
Read/write property BackgroundColor The page color.
Read/write property Border The page border.
Read/write property DelayEvents Indicates if the page stops firing IPageEvents until the flag is set to false.
Method DrawBackground Draw the page background.
Method DrawBorder Draw the page border.
Method DrawPaper Draw the paper. EraseColor is the color of the area surrounding the page. Only the area around the page is drawn in order to eliminate flashing. Use EraseColor=0 to simply draw page.
Method DrawPrintableArea Draw the printable area.
Read/write property FormID The Page form.
Method GetDeviceBounds Return the printer page size in device units.
Method GetPageBounds Return the page size in page units.
Read/write property IsPrintableAreaVisible Indicates if the printable area is visible.
Read/write property Orientation The Page orientation. 1=portrait. 2=landscape.
Read/write property PageToPrinterMapping The page to printer mapping.
Read-only property PrintableBounds The printable bounds.
Method PrinterChanged Called by PageLayout when printer changes.
Method PrinterPageCount The number of printer pages spanned by the page.
Method PutCustomSize The size of the page in page units.
Method QuerySize The size of the page in page units.
Read/write property StretchGraphicsWithPage Indicates if graphics should stretch with the page when the page size changes.
Read/write property Units The units used for the page and all associated coordinates.

CoClasses that implement IPage

CoClasses and Classes Description
Page The On Screen Page.

Remarks

IPage is the primary interface on the Page object which manages the page on which the page layout is drawn.

Use this interface to access all of the properties of an ArcMap page, including the page�s border, background, background color, orientation, and size.

.NET Samples

Modify the appearance of the PageLayoutControl's page (Code Files: PageAppearance) | Print preview using the PageLayoutControl (Code Files: PrintPreview)

.NET Related Topics

Working with PageLayout elements