Welcome to the Harris Geospatial documentation center. Here you will find reference guides and help documents.

  >  Docs Center  >  ENVI API  >  ENVI Classic Data Control  >  ENVI_WRITE_FILE_HEADER



This routine is obsolete and has been replaced with the ENVIRaster::WriteMetadata method.

Use this procedure to write or re-write an ENVI header file to preserve changes to user-defined header values. Once you open an ENVI-format file, you can programmatically change your header values using ENVI_ASSIGN_HEADER_VALUE. To preserve these changes to files that reside on disk, you must also write the updated header using ENVI_WRITE_FILE_HEADER.





This is the file ID for the open file. This value is returned from the keyword R_FID in the ENVI_OPEN_FILE procedure. FID is a long integer with a value greater than 0. An invalid file ID has a value of -1.

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us