onEndLayout layout, printInfo
This event is fired after the Autodesk MapGuide Viewer has finished the internal layout of the page elements but before the map is sent to the printer.
This topic describes this event for ActiveX Control. For Plug-In and Java Edition, see MGPrintingObserver.onEndLayout.
ActiveX Control only
layout - An MGPrintLayout object that represents the current page layout.
info - An MGPrintInfo object that contains information about the current printing operation.
In the example above, ObjectId is the ID of the embedded map specified as part of the HTML OBJECT tag. Refer to "Displaying Maps" chapter in the Autodesk MapGuide Developer's Guide for details on how to embed the ActiveX Control using the OBJECT tag.
onBeginLayout, enablePrintingEvents, disablePrintingEvents, getPrintingObserver, setPrintingObserver