ReadMetaHeader

Declaration: TMetaData.ReadMetaHeader(FName: string; var Version, NrOfColumns, NrOfRows, NrOfLayers, NrOfTimeSlots: integer): integer;
The function ReadMetaHeader reads the header information of the metadata from the file FName. On return the variable parameters Version, NrOfColumns, NrOfRows, NrOfLayers, NrOfTimeSlots contain the respective data.

The function returns the following error codes:

 0 ... everything's OK
-1 ... the specified file does not exist