Skip to main content
A newer version of this page is available. .

DiagramControl.ExportDiagram(String) Method

Exports the diagram in the specified format to a file.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

public void ExportDiagram(
    string path
)

Parameters

Name Type Description
path String

A string value that is the path to the file to which to save the diagram.

Remarks

The following file formats are supported: JPG, PNG, GIF, BMP. The desired file format is automatically detected based on the file extension.

See Also