WriteFileGeoKey method (ILEADRasterIO)
short WriteFileGeoKey(BSTR bstrFile, long lPage, short iModify); | |
Overview |
Refer to Implementing GeoKeys (GeoTIFF tags) |
Remarks
Writes GeoKeys to a file or changes the existing GeoKeys in a file.
This method writes to or changes the GeoKeys in an existing file.
This method will write all the GeoKeys that have been set using the SetGeoKey method. There must be at least one GeoKey set for this method to work. If no GeoKeys have been set, an error will be returned by this method.
This method works only with TIFF files.
If you also want to write the other TIFF tags and comments, use the WriteMetaData method instead of this method.
Note: |
Use this method carefully. LEADTOOLS will not restrict the GeoKeys that you write. If you write bad GeoKeys, the file might become corrupted. Consult the GeoTIFF specification documentation for a list of GeoKeys. |
See Also
Elements: |
SetGeoKey method, GetGeoKey method, GeoKeyType property, GeoKeyCount property, GeoKeyData property, ReadFileGeoKey method, EnumFileGeoKeys method, EnumGeoKeys event |
Topics: |
|
|