Resolution Property
Collapse the table of content
Expand the table of content

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.

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.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft