| MGPrintInfo Object |
|
The MGPrintInfo object provides information about the current print operation.
This object is passed as an argument to the onBeginLayout and onEndLayout events, allowing you to write event handler code specific to a particular print operation.
Instances of this class are valid only within the event handler methods. You cannot save a copy of this object for use outside of the event handler at a later time.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGPrintInfo extends java.lang.Object and can be found in the mapguide package, located in the npmapv32.zip file in the Netscape Plugins folder.
Java Development for Autodesk MapGuide Viewer, Java Edition: For Autodesk MapGuide Viewer, Java Edition, MGPrintInfo is a Java interface that resides in the com.autodesk.mgjava package, which is located in the mgjava.cab file (for Windows systems only) and the mgjava.jar file (for all platforms).
|
Gets the size of the printable area of the page. |
|
|
Gets the resolution of the output device to be used for the current print operation. |
Note that direct access to properties is only available in Autodesk MapGuide Viewer ActiveX Control. In Autodesk MapGuide Viewer Plug-In and Autodesk MapGuide Viewer, Java Edition APIs, get/set methods provide access to an object's properties. For compatibility, the ActiveX Control API supports the same get/set methods as the Autodesk MapGuide Viewer Plug-In and the Autodesk MapGuide Viewer, Java Edition APIs.
|
The size of the printable area of the page. |
|
|
The resolution of the output device to be used for the current print operation. |