MGMap.pageSetupDlg   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

voidpageSetupDlg()

Description

Displays the Page Setup dialog box, where the user can specify preferences for printing the map.

This method is the equivalent of the Printing > Page Setup menu command in the user interface.

Note that this method does not work during a busystate.

Error Codes

-1 (busy)

Example

This example is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It displays the Page Setup dialog box:

function showPageSetup()
{
    getMap().pageSetupDlg();
}

See Also

getPageSetup, PageSetup, printDlg