Windows Phone 7 (WP7) PhotoChooserTask with Crop

后端 未结 3 1235
死守一世寂寞
死守一世寂寞 2021-01-11 18:10

I\'ve seen this in a number of apps but can\'t find anything in the documentation or online samples.

When you invoke the PhotoChooserTask some apps enable you to res

3条回答
  •  旧巷少年郎
    2021-01-11 18:15

    You can set the width and height of the desired image and the PhotoChooserTask will automatically create the crop mechanism.

    photoChooser.PixelHeight = 500;
    photoChooser.PixelWidth = 500;
    

    There are some known issues with this method in the pre-nodo emulator; using the 7.1.1 tools I have not had any problems with this method.

提交回复
热议问题