ArcObjects Library Reference (Output)  

IPaper Interface

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

Product Availability

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


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.

CoClasses that implement IPaper

CoClasses and Classes Description
Paper The default printer page settings.

.NET Samples

Print preview using the PageLayoutControl (Code Files: PrintPreview) | Print active view (Code Files: PrintActiveViewVB_Net_Addin) | Print multiple pages (Code Files: PrintMultiPagesVB_NET_Addin)

.NET Related Topics

How to select a printer paper tray | OutputExtensions