visio

Visio 2003: UML class diagrams - abstract class

六眼飞鱼酱① 提交于 2019-12-10 23:13:13
问题 I am trying to create UML diagrams but can not mark a class as Abstract. Please help. 回答1: Right-click on the class, either in a static structure diagram, or in the Model Explorer. Activate the "Properties" context menu item to bring up the properties dialog for that class. On the first tab, check the "IsAbstract" checkbox. The class will now be displayed in italics. 来源: https://stackoverflow.com/questions/1712340/visio-2003-uml-class-diagrams-abstract-class

exporting SQL from a Viso diagram

别来无恙 提交于 2019-12-10 18:12:10
问题 Is there a method to export SQL statements from a Viso 2003 entity-relationship diagram? 回答1: If you're using Visio 2010 and have a 64-bit OS, this add-in may help: http://forwardengineer.codeplex.com/ 回答2: Depends on which edition of Visio you have. There's an Enterprise edition pr Professional edition which has a database menu item that will export (and import) database schema from Visio. If you have some lower edition, you may not have any database engineering or reverse engineering

How to convert multiple visio file (.vsd) to png

浪子不回头ぞ 提交于 2019-12-10 11:16:55
问题 I have a lot of Visio files, and want to programatically convert them all to png format. I have found a couple of solutions, but can't get any of them to work. How can .vsd files be batch-converted to .png easily through commandline or a similar means? 回答1: Use the built in Visual Basic something like this: fix up the paths parts yourself. Sub a() Dim docs As New Collection ' add the paths of your documents here, use more script if you want wildcard etc docs.Add ("C:\Users\[username]\Desktop

iso中虚线框粘贴到word成实线框的解决方法

佐手、 提交于 2019-12-10 00:02:19
问题描述: iso 中虚线框粘贴到 word 成实线框的解决方法 根因分析: 在 Visio 里只要虚线框的大小超过一个界限,拷贝之后就会变成实线框。 解决方法: 【运行 regedit 】- > 【 HKEY_CURRENT_USER 】- > 【 Software 】- > 【 Microsoft 】- > 【 Office 】- > 【 11.0 】( office2007 是 12.0 )- > 【 VISIO 】- > 【 Application 】,选择【新建】- > 【 Dword 值】,名称为 MetafileDashLineAsSolid ,取值为 0 。 [ 注 ] 选取的 office 的版本跟 viso 的版本有关,在本机上,安装的 word2010 , viso2007, 修改的是“ 12.0 ”版本 来源: oschina 链接: https://my.oschina.net/u/727811/blog/167751

I cannot add views when reverse engineering my database in Visio

烂漫一生 提交于 2019-12-09 23:07:33
问题 I am trying to reverse engineer parts of a 2012 SQL Server into Microsoft Visio 2010. The views option is greyed out. The views are integral to the processes I am trying to document, and the diagram will be useless without them. Does anyone have an easy work-around other than manually inputting the views? 回答1: You are probably using "wrong" data provider to reverse engineer the database, and that is the reason why views are disabled. There are some issues with Visio not being updated to

Creating statecharts in Visio using c#

我是研究僧i 提交于 2019-12-08 19:28:24
问题 Can anyone point me to an example of how to programatically create a statechart in visio? I can create blank pages, drop shapes, open template etc, but when I try to add transitions it complains that the page is not the right type. Can't find a sample anywhere. Alternatively: I can save the user actions to create the chart as a macro. Can I run that programatically? Thanks. < edit > Step away from the PC for 2 minutes and you realise you should have put the code snippet in the question and

Visio to SVG Converter

耗尽温柔 提交于 2019-12-08 00:04:05
问题 We are developing an application to render the visio viewer on Mac Machine, Initially approach is to convert visio to SVG and then render it, Are there any converter 3rd Party or open source available, which we shall make use of it! 回答1: You could try Inkscape Check out this wiki page. 回答2: libvisio, of course :) But it's open source/free software, so be careful with licensing http://libregraphicsworld.org/blog/entry/the-ultimate-quest-of-bringing-visio-support-to-libreoffice 回答3: Maybe a

Late binding issue with Enums

旧街凉风 提交于 2019-12-07 20:13:18
问题 During development everything was fine, early binding worked a treat, but now I've moved to late binding for production and I'm having issues with Visio Enums. As follows: Set AppVisio = CreateObject("visio.application") Set vsoSelection = AppVisio.ActiveWindow.Selection Call vsoSelection.GetIDs(lngShapeIDs) With .Shapes.ItemFromID(lngShapeIDs(0)) .CellsSRC(visSectionObject, visRowXFormOut, visXFormPinX).FormulaU = sngShapeHCenter .CellsSRC(visSectionObject, visRowXFormOut, visXFormPinY)

Visio shape - get X,Y position

為{幸葍}努か 提交于 2019-12-07 08:55:06
问题 I've managed to programatically insert a shape into Visio using the code below: ActiveWindow.Page.Drop(VisioApp.Documents["ORGCH_M.VSS"].Masters.ItemU["Executive"], 5.433071, 7.559055); How would i programatically retrieve it's X,Y coordinates after the shape has been inserted? Thanks! 回答1: To get the coordinates of the new shape first get a reference to the new shape. Page.Drop will retun this reference. Then look in that shape object for its PinX and PinY cells. This will give you the

How to read Shape's properties in Visio

偶尔善良 提交于 2019-12-07 02:08:58
问题 I have the following task. I'm writing an Add-In for Visio 2010 on C# in Studio 2010. Let's say that I have a diagram opened. And I have a shape of any kind in this diagram (let's try to manage one shape for the begining). The question is how can I read any properties of this shape? Which API should I use? Basic algorithm: Scan opened document for shapes If there are any shapes in document, then return an array (or a list) of all shapes (null is returned in case of no shapes in current