WPF是否支持本地读取/写入WMF/EMF文件? [英] Does WPF support reading/writing WMF/EMF files natively?

查看:271
本文介绍了WPF是否支持本地读取/写入WMF/EMF文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows Presentation Foundation是否可以在不使用WinForms Interop或Win32的情况下读取/写入WMF/EMF文件.

Can Windows Presentation Foundation read/write WMF/EMF files without having to use WinForms Interop or Win32.

如果没有,原因是什么?

If it does not, what is the reason?

推荐答案

在MSDN上的快速搜索显示

A quick search on MSDN reveals a thread containing a post by Peggi Goodwin, a PM at Microsoft:

WPF不支持EMF和WMF图像格式.这些格式比其他图像格式更容易受到安全漏洞的影响,因此我们不打算支持它们.

WPF does not support the EMF and WMF image formats. These formats are more susceptible to security vulnerabilities than other image formats, so we do not intend to support them.

这篇关于WPF是否支持本地读取/写入WMF/EMF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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