[This is preliminary documentation and is subject to change.]
Attempts to save the map, under the specified file name using the specified format.
Namespace: fCraft.MapConversionAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
Parameters
- mapToSave
- Map
Map file to be saved.
- fileName
- String
The name of the file to save to.
- mapFormat
- MapFormat
The format to use when saving the map.
Return Value
Whether or not the map save completed successfully.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | mapToSave or fileName are null. |
| System..::..ArgumentException | mapFormat is set to MapFormat.Unknown. |
| fCraft.MapConversion..::..NoMapConverterFoundException | No exporter could be found for the given format. |