DiagramExtension.Export(String) Method
Exports the diagram data in JSON format.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | The diagram’s name. |
Returns
Type | Description |
---|---|
String | The diagram data in JSON format. |
Remarks
The Export method allows you to save information about the diagram’s layout, appearance, and shape positions.
Use the Import(String) method to load this data to the Diagram extension.
Use the ASPxClientDiagram.Export and ASPxClientDiagram.Import methods to save and load the diagram data on the client side.
Note
The Diagram stores an opened diagram’s data in its own text format. Do not modify the data the Export method returns because a modified document can be loaded incorrectly.
See Also