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


IPageSetupDialog.DoModal Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > OutputUI > ESRI.ArcGIS.OutputUI > Interfaces > IP > IPageSetupDialog Interface > IPageSetupDialog.DoModal Method
ArcGIS Developer Help

IPageSetupDialog.DoModal Method

Displays the Page Setup 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 IPageSetupDialog::Printer and IPageSetupDialog::PageLayout to valid objects before calling the DoModal method.

See Also

IPageSetupDialog Interface