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


IPaper.PrinterInfo Property (ArcObjects .NET 10.4 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(
  long* hDevMode,
  long* hDevNames
);
[C++]

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

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