Diagram.Save

Save(string, SaveFileFormat)

Saves the diagram data to the file.

public void Save(string filename, SaveFileFormat format)
ParameterTypeDescription
filenameStringThe file name.
formatSaveFileFormatSaveFileFormat save file format.

See Also


Save(Stream, SaveFileFormat)

Saves the diagram data to the stream.

public void Save(Stream stream, SaveFileFormat format)
ParameterTypeDescription
streamStreamThe stream.
formatSaveFileFormatSaveFileFormat save file format.

See Also


Save(string, SaveOptions)

Saves the document to a file using the specified save options.

public void Save(string filename, SaveOptions options)
ParameterTypeDescription
filenameStringThe file name.
optionsSaveOptionsSaveOptions save diagram options.

See Also


Save(Stream, SaveOptions)

Saves the diagram to a stream using the specified save options.

public void Save(Stream stream, SaveOptions options)
ParameterTypeDescription
streamStreamThe stream.
optionsSaveOptionsSaveOptions save diagram options.

See Also