“Masters.AddEx”方法的代码示例失败 [英] Code example fails for `Masters.AddEx` Method

查看:55
本文介绍了“Masters.AddEx”方法的代码示例失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他的代码示例  Masters.AddEx方法  documentation 失败。
不确定代码示例是否不正确或Visio配置有问题。

his code example in Masters.AddEx Method documentation fails. Not sure if the code example is incorrect or something wrong with Visio configuration.

我创建了一个新的Visio文档,然后针对新文档运行示例代码。

I created a new Visio document and then ran the example code against the new document.


Public Sub AddEx_Example()
    Dim vsoMaster As Visio.Master
    Set vsoMaster = Visio.ActiveDocument.Masters.AddEx(visTypeDataGraphic)
    Debug.Print vsoMaster.Name
End Sub

推荐答案

您使用的是Visio Standard还是Pro?

Are you using Visio Standard or Pro?


这篇关于“Masters.AddEx”方法的代码示例失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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