[UWP] SVG图像 [英] [UWP]SVG Image

查看:92
本文介绍了[UWP] SVG图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用SvgImageSource和一个Image在UWP中加载一个svg图像,一切正常,除了
文本svg中的标签。如果我尝试加载.svg文件的多个元素和一个文本元素,它会加载除文本之外的所有内容。有没有办法在UWP中正确加载SVG文件?

I am trying to load a svg image in UWP with SvgImageSource and a Image, everything works fine, except for the text tag in svg. If I try to load a .svg file multiple elements and a text element, it loads everything but the text. Is there a way to properly load a SVG file in UWP?

谢谢

推荐答案

亲爱的卢卡斯哈根:

如果你发给我svg图像,那么我就可以编写一个小应用程序来展示如何做到这一点。基本上你需要使用ds.DrawText函数来显示文本。最好的解决方案是将您的图像加载到OneDrive中并向我发送图像链接。

If you send me the svg image, then I will able to write small application to show how that can be done. Basically you need to use ds.DrawText function to display text. The best solution is load your image in your OneDrive and send me the link for the image.

问候


这篇关于[UWP] SVG图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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