| MGPageSetup Object |
|
The MGPageSetup object organizes the Page Setup properties, which control how Autodesk MapGuide prints maps.
To get an instance of the MGPageSetup class, use the getPageSetup method from MGMap.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGPageSetup 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, MGPageSetup 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).
|
Determines whether the specified element will be included on the printout. |
|
|
Returns a value indicating whether the legend will be printed next to the map. |
|
|
Gets the page margins used by the current page layout. |
|
|
Gets the scale if the map is to be printed at a specific map scale. |
|
|
Gets the title to be printed above the map at the top of the page. |
|
|
Gets an object that groups the title text attributes. |
|
|
Returns a value indicating whether the map will be printed at a specific map scale. |
|
|
Changes the visibility state of the page element on the print out. |
|
|
Sets a value indicating whether the legend will be printed next to the map. |
|
|
Sets the page margins used by the current page layout. |
|
|
Sets the scale if the map is to be printed at a specific map scale. |
|
|
Sets the title to print at the top of the page when you print a map. |
|
|
Sets a value indicating whether the map will be printed at a specific scale. |
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.
|
Gets or sets whether to print the legend next to the map. |
|
|
Gets or sets the map scale at which the map will print. |
|
|
Gets or sets the title that will print at the top of the page when you print a map. |
|
|
Gets or sets whether to print the map at a specific map scale. |