This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > OutputUI > ESRI.ArcGIS.OutputUI > Interfaces > IP > IPrintDialog Interface > IPrintDialog.DoModal Method (ArcObjects .NET 10.4 SDK) |
Displays the Print Dialog.
[Visual Basic .NET] Public Function DoModal ( _ ByVal hWnd As Integer, _ ByVal pPage As IPage _ ) As Boolean
[C#] public bool DoModal ( int hWnd, IPage pPage );
Set IPrintDialog::Printer and IPrintDialog::PageLayout to valid objects before calling the DoModal method.