Camera.Resolution Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the resolution of the image captured by the camera.
Namespace: Microsoft.Devices
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property Resolution As Size
public Size Resolution { get; set; }
<object>
<object.Resolution>
<Size .../>
</object.Resolution>
</object>
Property Value
Type: System.Windows..::.Size
The resolution of the image captured by 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