如何在wpf中使用矩形裁剪捕获的图像 [英] how to crop captured image with rectangle in wpf

查看:89
本文介绍了如何在wpf中使用矩形裁剪捕获的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您能否帮我如何在wpf中使用矩形裁剪捕获的图像,并且此矩形必须具有以下功能

1.矩形必须移动到捕获图像上的任何位置.

2.矩形必须具有最小化和最大化功能.

可以将上述要求的示例代码发送给我吗?

谢谢.

Hi,

Can you please help me how to crop captured image with rectangle in wpf, and Here rectangle must be have below functionality

1. Rectangle must be move any where on captured image.

2. Rectangle must be have minimize and maximize functionality.

Can any one please send me the sample code for above requirement.

Thanks.

推荐答案

您可以通过学习图像裁剪控件的工作方式来了解它.请参阅此CodeProject文章: WPF交互式图像裁剪控件 [
You can find out by learning how the Image Cropping Control works; see this CodeProject article: WPF Interactive Image Cropping Control[^].

—SA


这篇关于如何在wpf中使用矩形裁剪捕获的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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