DiagramControl.SaveDocument Method

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