Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImageProperties.Longitude | longitude property

Applies to Windows and Windows Phone

Gets the longitude coordinate where the photo was taken.

Syntax


var longitude = imageProperties.longitude;

Property value

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

The longitude coordinate where the photo was taken.

The system computes this coordinate using the following file properties:

System.GPS.Longitude
System.GPS.LongitudeDenominator
System.GPS.LongitudeNumerator
System.GPS.LongitudeRef

Remarks

To set the longitude of the picture, you must set all four of the file properties that are used to compute the longitude 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