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....



ReadCalDataFromOpenXMLFile


Unit:SDL_geomap
Class:TGeoMap 
Declaration:function  ReadCalDataFromOpenXMLFile (var InFile: TextFile; DataID: string): boolean;

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.

Hint 1: For a description of the valid tags, please see WriteCalDataToOpenXMLFile.



Last Update: 2012-Oct-20