Document.Version property (Visio)
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
VisDocVersions
Remarks
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 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 |
---|---|---|
visVersion60 | &H60000 | Visio 2000 or Visio 2002 document |
visVersion110 | &HB0000 | Visio 2003 or Visio 2007 document |
visVersion120 | &HB0000 | Visio 2003 or Visio 2007 document |
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기