ImageProperties.Latitude | latitude property

Applies to Windows and Windows Phone

Gets the latitude coordinate where the photo was taken.

Syntax


var latitude = imageProperties.latitude;

Property value

Type: IReference<Double> [JavaScript/C++] | System.Nullable<Double> [.NET]

The latitude coordinate where the photo was taken.

The system computes this coordinate using the following file properties:

System.GPS.Latitude
System.GPS.LatitudeDenominator
System.GPS.LatitudeNumerator
System.GPS.LatitudeRef

Remarks

To set the latitude of the photo, you must set all four of the file properties that are used to compute the latitude coordinate.

For code examples that demonstrate working with Latitude, Longitude and their underlying file properties, see the Simple imaging sample.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.FileProperties
Windows::Storage::FileProperties [C++]

Metadata

Windows.winmd

See also

ImageProperties

 

 

Show:
© 2014 Microsoft