File TypeVisio Drawing
- I've upgraded to Visio 2013 but found that vsdx files cannot be opened by Visio 2010. How can my audience open up vsdx files with Visio 2010? The VSDX files can now be opened easily in Visio 2010.
- First, you need to upload a file: drag & drop your VSDX file or click inside the white area to choose a file. Then you will be redirected to the viewer application. ⏱️ How long does it take to open VSDX file? The viewer app works fast.
- The.vsdx is a new Microsoft Visio file format introduced in Visio 2013. In order to open it you should have supported Visio Installation. You can also open.vsdx file using some online tools like Lucidchart. Signup for the trial account, in the dashboard go to File - Import Diagram - Visio File. After importing you can also edit a diagram as.
You can open.vsdx and.vsdm files in Visio 2010. You are prompted to download the Visio Compatibility Pack when you open a.vsdx or.vsdm file in Visio 2010. The Visio Compatibility Pack contains the file format converter for.vsdx or.vsdm files. Note Only Windows 7 or later versions of Windows support the Visio Compatibility Pack. How to Open Visio VSDX Files on Windows and Mac Edraw Max, an all-in-one cross-platform diagram software, offers a great way to open and view Visio vsdx files both on Windows and Mac, which enables users to open, view, edit VSDX files and even convert back to Visio.
Developer | Microsoft |
Popularity | |
Category | Vector Image Files |
Format | Zip |
What is a VSDX file?
A VSDX file is a drawing saved in the VSDX file format introduced with Visio 2013, a program used for making drawings and technical illustrations. It stores shapes, lines, text, and other objects arranged together on a free-form canvas. VSDX files are used for saving flowcharts, process diagrams, organizational charts, and other types of drawings.
The VSDX format replaces the older .VSD binary format and .VDX XML format used by Visio 2010 and earlier. The VSDX format uses Open Packaging Conventions (OPC), which is based on XML and uses a .ZIP container to package all the drawing contents. If you do not have a program that supports the VSDX format you can still view the contents of a VSDX file by renaming its extension to '.zip' and unzipping the file. VSDX files can be classified as 'archives' or 'packages.' They contain 'document' parts, which includes the content and metadata of the VSDX file, and 'relationship' parts, which include images and text files.
Microsoft Visio is primarily used to create diagrams and store them in the VSDX file. Some other files used by Visio include the .VSDM file to store macro-enabled drawings, .VSTX files to store templates, .VSTM files to store macro-enabled templates, .VSSX files to store stencils, and .VSSM files to store macro-enabled stencils.
Programs that open VSDX files
Vsd Files Download
Learn about the new file format in Visio 2013, explore some high-level concepts for working with the Visio 2013 file format programmatically, and create a simple console application that examines a Visio 2013 file.
In this articleIntroductionWhat is the Visio 2013 file format 'under the hood'?Developer scenarios for working with the Visio 2013 file formatExploring the Visio 2013 file format programmaticallyAdditional resources |
Introduction
Visio 2013 introduces a new file format (.vsdx) for Visio that replaces the Visio binary file format (.vsd) and Visio XML Drawing file format (.vdx). Because the Visio 2013 file format is based upon Open Packaging Conventions and XML, developers who are familiar with these technologies can quickly learn how to work with Visio 2013 files programmatically. Developers who are familiar with the Visio XML Drawing file format (.vdx) from previous versions of Visio can find many of the same XML structures within the parts of .vsdx file format. Interoperability with Visio files is greatly increased since third-party software can manipulate Visio files at a file format level. The Visio 2013 file format is supported on Visio Services in Microsoft SharePoint Server 2013, without the need of an 'intermediary' file format for publishing to SharePoint Server.
There are several file types, by extension, that comprise the Visio 2013 file format. These extensions include:
.vsdx (Visio drawing)
.vsdm (Visio macro-enabled drawing)
.vssx (Visio stencil)
.vssm (Visio macro-enabled stencil)
.vstx (Visio template)
.vstm (Visio macro-enabled template)
Note
Only the macro-enabled files (.vsdm, .vssm, .vstm) can store VBA macros. You cannot store macros in files with a .vsdx, .vssx, or .vstx extension.
Open Vsdx File In Word
What is the Visio 2013 file format 'under the hood'?
The Visio 2013 file format uses the Open Packing Conventions (OPC), which defines a structured means to store application data together with related resources using a container of some sort─for example, a ZIP file. At a basic level, a Visio 2013 file is really a ZIP container that contains other types of files. In fact, you can save a drawing in Visio 2013 as a .vsdx file, rename the file extension to '*.zip' in Windows Explorer, and then open the file like a folder to see the contents inside.
Note
This article contains only a brief overview of the Open Packaging Conventions. You can find more detailed coverage of the conventions in other articles: > For more information about the Open Packaging Conventions themselves, see OPC: A New Standard for Packaging Your Data. > For more information about the Open Packaging Conventions and their use in Microsoft Office files, see Essentials of the Open Packaging Conventions and Introducing the Office (2007) Open XML File Formats.
Packages and Package Parts
As started earlier, Visio 2013 files are ZIP containers or 'packages' that hold other files (called 'package parts') within them. A package part can be an XML file, an image, even a VBA solution. The parts within the package can be further divided into two broad categories, 'document parts' and 'relationship parts.' The document parts contain the actual content and metadata of the Visio file, like the name of the file, the first page and all of the shapes that it contains, and even the data connections for the shapes. Images and text files within the package are considered document parts. Relationship parts are described in more detail later in this article.
Note
If you open a Visio 2013 file using a ZIP utility, you can probably see several folders contained inside of the ZIP package. You can even manipulate these sub-addresses like folders using a ZIP utility. However, these 'folders' represent sub-addresses within the ZIP package, not actual folders. You cannot use the programmatic equivalents of folders to work with these sub-addresses in your solution.
Package parts─both document parts and relationship parts─also have associated content types. These content types are strings that define a MIME media type. These content types specify and scope the kind of MIME types that can be contained in the file.
Relationships
The relationship parts (which end with the extension '*.rels' and are stored in a '_rels' folder) describe how the parts within the package relate to each other and provide the structure of the file. A standalone XML document uses the parent/child relationship of elements to determine the relationship of entities to each other. Other files may use other hierarchies or file folder structure to describe the interaction of content in the file. For the Visio 2013 file format, the package is a valid Visio file if it contains the correct set of parts and the package contains the relationships between the parts.
Relationship parts are XML documents that describe the relationships between different document parts within the package. They define an association between two items: a specified source (defined by the name and location of the relationship file) and a specified target document part. For example, relationship parts are used to describe which shape masters are associated with the file, how pages relate to the file and to each other, or how images and objects relate to a specific page.
Similarities and differences with Visio VDX schema
As mentioned, past versions of Visio also included an XML-based file format, the Visio XML Drawing Format or .vdx. (In previous versions of Visio, the schema used for the Visio XML Drawing Format is called DatadiagramML.) Some pieces from the Visio XML schema have stayed the same between the two file formats. For example, the Windows element and its children remain unchanged─with the exception that the Windows element is now a root element of an XML document (window.xml).
The largest difference between the XML Drawing Format and the Visio 2013 file format is the packaging. An XML Drawing Format file could be manipulated like a normal stand-alone XML; the Visio 2013 file format must be manipulated as a package. In the Visio 2013, the XML has been divided up into parts for easier consumption. Another noticeable change is that the Visio 2013 file format stores all document properties in document parts described by the OPC standard (app.xml, core.xml, custom.xml).
However, there is one significant change that all Visio developers must be aware of: the introduction of the Cell, Row, and Section elements. In the XML Drawing File Format schema, individual rows and cells in the ShapeSheet are represented by named elements. For example, imagine that you have a document with a single page that contains a shape with a PinX value of '2' (meaning that the rotation pin of the shape is 2 inches from the left edge of the drawing). The relevant markup for that setting in the XML Drawing File Format is shown in the following code.
Here, the PinX element is a child of the XForm element, which is in turn a child of the Shape element. This models the Visio ShapeSheet UI, where the PinX cell is included in the Shape Transform section of a shape.
Open Vsdx File Edge
In the Visio 2013 file format, all cells in the ShapeSheet─ PinX, LinePattern, an X cell in a MoveTo row in a Geometry section, etc.─are represented by one type of XML element, the Cell element. Different Cell elements are individuated from each other by the value of their N attribute. Thus, in the example from above, the data contained in the PinX cell in the ShapeSheet is stored in a VSDX file as shown in the following code.
The Cell element for PinX (as well as other individual, named cells called 'singleton cells' like LinePattern or LockSelect) is a direct child of the Shape element. No unique element is needed to represent the row that contains the PinX cell, as each shape can only have one PinX.
What about sections that include tabular data, like Geometry sections? For the cells in those sections, the Visio 2013 file format schema uses Section and Row elements─also distinguished by their N attribute or T attribute as shown below─to contain the data. For example, the same shape from the previous example might contain data in the Geometry 1 section that looks like the following code in the XML Drawing schema.
However, it looks like the following code in the Visio 2013 file.
Developer scenarios for working with the Visio 2013 file format
As explained above, the Visio 2013 file format leverages several well-understood technologies like ZIP files and XML to store data. To manipulate a Visio 2013 drawing at the file level, a solution need only to use the .NET Framework namespaces and classes associated with working with ZIP files or XML, like System.IO.Packaging or System.Xml.
The key benefit to developers of the Visio 2013 file format is that you can read and write to Visio 2013 files without automating the Visio client application. Some scenarios that you might consider as a developer for working with Visio 2013 file format include:
Checking individual Visio 2013 files for specific data. You can selectively read one item out of the ZIP container without having to extract the whole file.
Updating libraries of Visio 2013 files with specific content. You can programmatically change the logo in all of the background pages to reflect new branding guidelines.
Creating applications that consume Visio 2013 files. For example, you can build a tool that reads a Visio workflow diagram and then executes its own business logic based upon that workflow.
Be aware that because these solutions use standard .NET Framework assemblies, most solutions that can be run on a client machine can also be run on a server!
Exploring the Visio 2013 file format programmatically
The most basic and fundamental task for any developer working with the Visio 2013 file format is opening the file as a package and then accessing individual parts within the package. The System.IO.Packaging.Package in the WindowsBase.dll contains many classes that enable you to open and manipulate packages and parts.
In the following code sample, you can see how to open a .vsdx file, read the list of parts in the package, and get information about each part.
To open a .vsdx file and view the document parts
Open Visio 2013 and create a new document.
Create a new document and save it to the Desktop.
Open Visual Studio 2012.
On the File menu, choose New, and then choose ** Project **.
Under Visual C# or Visual Basic, expand Windows, and then select Console Application.
In the Name box, type 'VisioFileExplorer'. The Console Application project opens.
In the Solution Explorer, right-click VisioFileExplorer, and then click Add Reference.
In the Add Reference dialog box, under Assemblies, expand Framework, and then choose WindowsBase.
Paste the following code into the solution.
- Press F5 to debug the solution. When the program has completed running, press any key to exit.
See also
For more information about the Visio 2013 file format, the Open Packaging Convention, or how to work with Visio 2013or Office OpenXML files programmatically, see the following resources:
OPC: A New Standard for Packaging Your Data.