| MGMap.printDlg |
|
void printDlg()
Uses the page setup properties, then displays the Print dialog box.
This method is the equivalent of the Printing > Print menu command in the user interface.
Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.
-1 (busy)
This example is designed to work with the Tutorial.mwf file that is included with Autodesk MapGuide Author. It displays the Print dialog box:
function showPrint()
{
getMap().printDlg();
}
getPageSetup, PageSetup, pageSetupDlg