Share via


PhotoCaptureDevice.GetAvailableCaptureResolutions method

[This topic contains pre-release information and is subject to change. Blank topics are included as placeholders.]

7/25/2012

Gets the resolutions that are available for photo capture.

Syntax

public static IReadOnlyList<Size> GetAvailableCaptureResolutions(
  CameraType sensor
)
Public Shared Function GetAvailableCaptureResolutions(
  sensor As CameraType 
) As IReadOnlyList(Of Size)
public:
static IVectorView<Size>^ GetAvailableCaptureResolutions(
  CameraType sensor
)

Parameters

  • sensor
    Type: CameraType

    The location of the camera on the phone (front or back).

Return value

Type: IVectorView<Size> [C++] | System.Collections.Generic.IReadOnlyList<Size> [.NET]

The resolutions in units of pixels that are available for photo capture.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++]

Metadata

Windows.winmd

See also

PhotoCaptureDevice

 

 

Build date: 7/25/2012