Type Default Value Read Only Static Description
Byte[] None Yes No The byte sequence of all the Gps data.
Notes

This property allows you to access the raw Gps data as it was stored in the Exif metadata.

For details of the way in which Exif data can be parsed, please refer to http://www.exif.org.

Example

[C#]XImageLoadOptions loadOptions = new XImageLoadOptions();
loadOptions.ReadExif = true;
XImage image = XImage.FromFile(Server.MapPath("rez/myexif.jpg"), loadOptions);
if (image.Exif != null) {
  byte[] bytes = image.Exif.Gps;
  // parse bytes
}


[Visual Basic]Dim loadOptions As New XImageLoadOptions()
loadOptions.ReadExif = True
Dim image As XImage = XImage.FromFile(Server.MapPath("rez/myexif.jpg"), loadOptions)
If image.Exif IsNot Nothing Then
  ' parse bytes
  Dim bytes As Byte() = image.Exif.Gps
End If


This example illustrates how to get the raw gps Exif data for your own parser.