Windows 8手机应用程序中的裁剪控制 [英] crop control in windows 8 phone apps

查看:58
本文介绍了Windows 8手机应用程序中的裁剪控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以开发裁剪控件来裁剪Windows 8手机应用中的图像。请提供样品..



谢谢,

Sarath s


is it possible to develop a Crop control for cropping an image in windows 8 phone apps. Please provide the samples..

Thanks,
Sarath s

推荐答案

Quote:

在典型的.NET WPF应用程序中,我们可以使用System.Windows.Media.Imaging.CroppedBitmap类来裁剪位图,但在Windows应用商店应用中,此类不可用。在Windows应用商店应用中,您可以在读取BitmapDecoder中的位图时使用BitmapTransform类来裁剪位图。在本视频中,我们将演示如何在Windows应用商店应用中裁剪图像。

In a typical .NET WPF application, we can use the System.Windows.Media.Imaging.CroppedBitmap class to crop a bitmap, but in a Windows Store app, this class is not available. In Windows Store app, you can crop a bitmap by using a BitmapTransform class while reading the bitmap in a BitmapDecoder. In this video, we will demonstrate how to crop an image in a Windows Store app.

参考 - 如何在Windows应用商店应用中裁剪图像 [ ^ ]。



示例代码 -

1. 如何在Windows应用商店应用(C#)中裁剪位图 [ ^ ]。

2. 手机应用程序 - 照片样本 [ ^ ]



App

1. 照片裁剪 [ ^ ]

Refer- How to crop an image in a Windows Store app[^].

Sample Code-
1. How to crop bitmap in a Windows Store app (C#)[^].
2. Phone App- Photos Sample[^]

App
1. Photo Crop[^]

这篇关于Windows 8手机应用程序中的裁剪控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆