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

Syntax

boolean saveMWF(String pathFileName, String password)

Description

Saves the map to a local MWF.

Note that the name of the MWF will not change after the save is complete, so getURL will return the same value after a call to saveMWF as it did before. This method is not implemented for the Autodesk MapGuide Viewer, Java Edition.

Applies to

ActiveX Control and Plug-In only

Parameters

pathFileName - Local path and file name for the saved MWF; this can be specified as a relative or absolute path.

password - The password to unlock the MWF file.

Returns

boolean - Returns True if successful; otherwise, returns False.

Error Codes

-1 (busy)

-3 (illegal argument)

-5 (security violation)

-16 (write permission denied)