This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPaper Interface > IPaper.PrinterInfo Property (ArcObjects .NET 10.4 SDK) |
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
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.