ImageEn, unit iexBitmaps

TIOParams.EXIF_GPSLatitudeRef

TIOParams.EXIF_GPSLatitudeRef


Declaration

property EXIF_GPSLatitudeRef: AnsiString;


Description

Indicates whether the latitude is North or South. The ASCII value "N" indicates North latitude, whereas "S" is South latitude.
Default value is empty string, which means "unknown". An unknown value is not written when saving EXIF values.

Note: To save GPS data, you must set EXIF_GPSVersionID to '2.2.0.0' (or use the const, GPS_Version_ID), and also have valid values for EXIF_GPSLatitudeRef and EXIF_GPSLongitudeRef


Example

// Write EXIF data to the current file
ImageEnView1.IO.Params.EXIF_GPSLatitude := StrToFloat( edtEXIF_GPSLatitude.Text );
ImageEnView1.IO.Params.EXIF_GPSLongitude := StrToFloat( edtEXIF_GPSLongitude.Text );
ImageEnView1.IO.Params.EXIF_GPSVersionID := GPS_Version_ID;
ImageEnView1.IO.InjectJpegEXIF('D:\GPSStamped.jpg');


See Also

- EXIF_GPSLatitude
- EXIF_GPSLatitude_Str