如何将.vsd文件类型转换为svgz [英] How to convert .vsd file type to svgz

查看:147
本文介绍了如何将.vsd文件类型转换为svgz的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

是否可以使用C#将.vsd(ViSio Drawing)文件转换为.svgz文件。如果是,那么如何。在此先感谢。

解决方案

步骤如下:

1.阅读Visio绘图文件

2.转换它可缩放矢量图形格式

3.编写新文件

问题是旧的Visio Drawing文件格式是专有的(和二进制),所以你没有太多机会会找到一个免费的图书馆来阅读它(有付费的图书馆)。如果您可以获得新的(XML + ZIP)格式的Visio绘图文件,那么您可以编写自己的库来阅读它: http://msdn.microsoft.com/en-us/library/office/jj684209(v = office.15).aspx [ ^ ]。br />
使用SVG,您很幸运,因为它是一种免费格式,您可以轻松找到它的定义: http:// en.wikipedia.org/wiki/Scalable_Vector_Graphics [ ^ ]

Hello All,
Is it possible to convert .vsd(ViSio Drawing) file to .svgz file using C#. If yes then How. Thanks in advance.

解决方案

The steps are:
1. Read Visio Drawing file
2. Convert it to Scalable Vector Graphics format
3. Write new file
The problem is that old Visio Drawing file format is proprietary (and binary), so there is not much chance you will find a free library to read it (there are payed libraries). If you can get the Visio Drawing files in new (XML+ZIP) format than you can write your own library to read it: http://msdn.microsoft.com/en-us/library/office/jj684209(v=office.15).aspx[^].
With SVG you are in luck as it is a free format and you can easily find its definitions: http://en.wikipedia.org/wiki/Scalable_Vector_Graphics[^]


这篇关于如何将.vsd文件类型转换为svgz的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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