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

IPaper Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPaper Interface
ArcGIS Developer Help

IPaper Interface

Provides access to members that control the default printer page settings.

Product Availability

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


Name Description
Method Attach Attach object to specified DEVMODE and DEVNAMES structures. This must be called before using other properties and methods.
Read/write property FormID The printer page form. Use Win32 DMPAPER_xxx constants.
Read-only property FormName The Form Name.
Read-only property Forms Enumerate forms supported by the printer.
Read/write property Orientation The printer page orientation (1 = portrait. 2 = landscape).
Read-only property PrintableBounds The area of the printer page that can be printed on.
Read-only property PrinterInfo Display the Print Setup Dialog.
Read/write property PrinterName The Printer Name.
Method QueryPaperSize Returns the size of the printer paper. Units property specifies measurement units.
Read/write property TrayID The printer tray. Use Win32 DMBIN_xxx constants.
Read-only property Trays Enumerate trays supported by the printer.
Read-only property Units The units used by the other properties.

Classes that implement IPaper

Classes Description
Paper The default printer page settings.

.NET Samples

Print preview using the PageLayoutControl Print active view Print multiple pages