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


IPaper.PrinterInfo Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IPaper.PrinterInfo Property

Display the Print Setup Dialog.

[Visual Basic .NET]
Public Function get_PrinterInfo ( _
    ByRef hDevMode As Integer _
) As Integer
[C#]
public int get_PrinterInfo (
    ref int hDevMode
);
[C++]
HRESULT get_PrinterInfo(
  OLE_HANDLE* hDevMode,
  OLE_HANDLE* hDevNames
);
[C++]

Parameters hDevMode [out]
hDevMode is a parameter of type OLE_HANDLE* hDevNames [out, retval]
hDevNames is a parameter of type OLE_HANDLE*

Product Availability

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

Remarks

This property is useful for C++ developers implementing their own Print dialog.  Most ArcObjects developers will use the IPrintDialog::DoModal method from the OutputUI library to show the Print dialog.

See Also

IPaper Interface