|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GeoPack GeoMap Class TGeoMap Methods SaveMap|
|See also: SaveCalDataAsXML, RenameMapImg, MapImgFile|
The method SaveMap stores the current map on disk. The parameter FileName specifies the filename of the map (including the file path). The extension of FileName is irrelevant since it is generated automatically. Please note that each map is stored in two files - the actual map image (in BMP or JPG format) and the corresponding calibration data (in XML format).
The parameter DataID holds a unique identifier which is stored as the attribute "id " of the <geomap> tag. For a detailed description of the generated tags please see the method WriteCalDataToOpenXMLFile.