ArcObjects Library Reference (OutputUI)  

IPrintDialog.DoModal Method

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
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Set IPrintDialog::Printer and IPrintDialog::PageLayout to valid objects before calling the DoModal method.

See Also

IPrintDialog Interface