Table of contents
TOC
折叠目录
展开目录

关于 Visio 绘图控件About the Visio Drawing Control

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

通过使用 Visio 绘图控件,您可以为您的应用程序集成的 Visio 绘图图面。By using the Visio Drawing Control, you can integrate the Visio drawing surface into your application.

Visio 绘图控件是提供完全访问 Visio 对象模型 (API) 的 ActiveX 控件和用户界面,使您可以将 Visio 用户界面中,集成自定义其外观,并使 Visio 自动在您的应用程序。Visio 绘图控件与 Microsoft Visio 2013,提供和安装 Visio 时,安装。The Visio Drawing Control is a ActiveX control that provides full access to the Visio object model (API) and user interface so that you can integrate the Visio user interface, customize its appearance, and automate Visio in your applications. The Visio Drawing Control is provided with Microsoft Visio 2013, and is installed when you install Visio.

关于在您的应用程序中包含 Visio 绘图控件的详细信息,请参阅此自动化引用中使用 Visio 绘图控件在您的应用程序For more information about including the Visio Drawing Control in your application, see About Using the Visio Drawing Control in your Application in this Automation Reference.

支持 Visio 绘图控件的宿主容器应用程序Host container applications that support the Visio Drawing Control

您可以在 Visual Basic 6.0,Visual C++ 6.0,Visual Studio 和其他 ActiveX 控件容器中嵌入 Visio 绘图控件。但是,不能在另一个 Visio 绘图、 另一个 ActiveX 控件、 (VBA) 窗体在 Visio 中,Visual Basic for Applications 或 Visio 解决方案窗口中嵌入 Visio 绘图控件。You can embed the Visio Drawing Control in Visual Basic 6.0, Visual C++ 6.0, Visual Studio, and other ActiveX control containers. However, you cannot embed the Visio Drawing Control in another Visio drawing, another ActiveX control, a Visual Basic for Applications (VBA) form in Visio, or a Visio solution window.

安全注意事项Security considerations

用于在 intranet 环境中,Visio 绘图控件为目标。Visio 绘图控件不支持IObjectSafety接口。在运行任何版本的 Internet Explorer 中之前,该控件将警告用户,它是不安全的文件 (除非最终用户的浏览器安全级别设置为中等中低)。The Visio Drawing Control is targeted for use in an intranet environment. The Visio Drawing Control does not support the IObjectSafety interface. Before it is run in any version of Internet Explorer, the control warns the user that it is an unsafe file (unless the end user's browser security level is set to Medium, Medium-Low, or Low).

运行时要求和应用程序分发Run-time requirements and distribution of your application

必须使用 Visio 绘图控件的位置任何计算机上安装的 Visio 绘图控件支持的 Visio 版本。当您分发应用程序时,所有用户必须具有都许可支持 Visio 绘图控件在其计算机上使用的 Visio 版本的副本。A version of Visio that supports the Visio Drawing Control must be installed on any computer where the Visio Drawing Control will be used. When you distribute your application, all users must have licensed copies of a version of Visio that supports the Visio Drawing Control on their computers to use it.

获取支持Obtaining support

对于在将 Visio 绘图控件集成到应用程序的过程中所遇到的问题,请与 Microsoft 产品支持服务联系以获取支持。有关联系人信息,请参阅随 Visio 产品提供的文档。To obtain support for issues that you encounter while integrating the Visio Drawing Control into your application, contact Microsoft Product Support Services. For contact information, see the documentation that comes with the Visio product.

© 2018 Microsoft