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 ReadCalDataFromOpenXMLFile | |||||||||
See also: OnMapImageRequest, LoadCalDataFromXML, MapImgFile, WriteCalDataToOpenXMLFile, SaveCalDataAsXML, WriteRawCalDataToOpenXMLFile | |||||||||
ReadCalDataFromOpenXMLFile |
|||||||||
The function ReadCalDataFromOpenXMLFile reads map data from the current position of the file InFile. If the parameter DataID is empty, the first <geomap> tag is evaluated and read into the TGeoMap instance. If DataID is not empty, the entire rest of the open file InFile is read until a <geomap> tag is found whose attribute "id " matches DataID (the recognition of the "id " attribute is not case-sensitive). The function ReadCalDataFromOpenXMLFile returns TRUE if both a valid starting tag <geomap> and a valid end tag </geomap> has been found and the map data has been updated.
|