Camera.AvailableResolutions Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Queries the camera for the available resolutions.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public ReadOnly Property AvailableResolutions As IEnumerable(Of Size)
public IEnumerable<Size> AvailableResolutions { get; }

Property Value

Type: System.Collections.Generic..::.IEnumerable<(Of <(Size>)>)
Returns IEnumerable<(Of <(T>)>). Collection of available resolutions on the camera.

Remarks

For more information about how to implement this member, see How to adjust captured photo resolution in an app for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Camera Class

Microsoft.Devices Namespace