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

Document.Version 属性 (Visio)Document.Version Property (Visio)

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

获取已保存文档的版本,或设置用于保存文档的版本。可读/写。Gets the version of a saved document or sets the version in which to save a document. Read/write.

语法Syntax

表达式版本expression . Version

表达式_一个表示文档对象的变量。_expression A variable that represents a Document object.

返回值Return Value

VisDocVersionsVisDocVersions

注解Remarks

设置文档的版本属性告诉保存文档中下一次保存该文档的文件格式版本的 Microsoft Visio。Visio 类型库声明的文件格式版本VisDocVersions中的常数。Setting the Version property of a document tells Microsoft Visio which file format version to save the document in the next time the document is saved. The Visio type library declares constants for file format versions in VisDocVersions .

Microsoft Visio 可以在下面的文件格式版本中保存文档。请注意,有两个常量、 visVersion120visVersion110 ,具有相同的值。Microsoft Visio can save a document in the following file format versions. Note that there are two constants, visVersion120 and visVersion110 , that have identical values.

* * 常 * *Constant *** * 值 * *Value *** * 说明 * *Description **
visVersion60visVersion60&;H60000&;H60000Visio 2000 或 Visio 2002 文档Visio 2000 or Visio 2002 document
visVersion110visVersion110&;HB0000&;HB0000Visio 2003 或 Visio 2007 文档Visio 2003 or Visio 2007 document
visVersion120visVersion120&;HB0000&;HB0000Visio 2003 或 Visio 2007 文档Visio 2003 or Visio 2007 document

当 Visio 打开使用较早版本格式保存的文档时,会将该文档在内存中的表示形式转换为当前版本。不过,当关闭该文档时,Visio 会识别该文档是采用较早版本格式保存的,并允许用户选择用于保存该文档的版本。When Visio opens a document that was saved in an earlier version format, it converts the document's in-memory representation to the current version. However, when closing the document, Visio recognizes that the document was saved in an earlier version format and allows the user to choose the version in which to save the document.

© 2018 Microsoft