Windows Dev Center

VideoProperties.Longitude | longitude property

Gets the longitude coordinate where the video was shot.

Syntax


var longitude = videoProperties.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 video, 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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

VideoProperties

 

 

Show:
© 2015 Microsoft