C# Class PhotoSharingApp.Universal.Extensions.DisplayOrientationsExtensions

Provides extension methods for DisplayOrientations.
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
ToDegrees ( this orientation ) : int

Converts the given orientation of the app on the screen to the corresponding rotation in degrees

Method Details

ToDegrees() public static method

Converts the given orientation of the app on the screen to the corresponding rotation in degrees
public static ToDegrees ( this orientation ) : int
orientation this The orientation of the app on the screen
return int