DiagramControl.SaveDocument Method

Name Parameters Description
SaveDocument(Stream) stream Saves the diagram to the specified stream.
SaveDocument(String) fileName Saves the diagram to the specified file.