PhotoChooserTask.PixelHeight 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 height and the height 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.


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

Property Value

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



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


Windows Phone

See Also


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