PhotoChooserTask.PixelWidth Property

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

Gets or sets the maximum width and the width component of the aspect ratio for a cropping region set by the user during the photo choosing process.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property PixelWidth As Integer
public int PixelWidth { get; set; }
<object PixelWidth="int" .../>

Property Value

Type: System..::.Int32
Type: Int32. The width at which the image will be cropped.

Remarks

Note

This property is not implemented in the current release.

Both the PixelHeight and PixelWidth properties must be set for the value to be used.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhotoChooserTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the photo chooser task for Windows Phone 8