Windows Dev Center

ImageProperties.Longitude | longitude property

Gets the longitude coordinate where the photo was taken.

Syntax


Public ReadOnly Property Longitude As Nullable(Of Double)

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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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:
© 2015 Microsoft