Vwa.VwaControl.getDiagramFileType Method
Last modified: June 26, 2012
Applies to: apps for SharePoint | SharePoint Server 2013
Returns a DiagramFileType constant that specifies whether the diagram displayed is a Visio drawing (.vsdx or .vsdm) file or a Visio Web Drawing (.vdw) file.
Vwa.DiagramFileType value = VwaControl.getDiagramFileType()
The getDiagramFileType method can return one of the following values:
|
Constant |
Value |
Description |
|---|---|---|
|
Vwa.DisplayMode.unknown |
0 |
The diagram is not loaded. |
|
Vwa.DisplayMode.vdw |
1 |
The diagram is a Visio Web Drawing (.vdw) file. |
|
Vwa.DisplayMode.vsdx |
2 |
The diagram is a Visio 2013 file (.vsdx or .vsdm). |
For more information about how to add a Visio Web Access Web Part to a SharePoint Web Parts page, see Customizing Visio Web Drawings in the Visio Web Access Web Part.