NShape Reference
CreateDiagram Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Controllers > DiagramSetController Class >

NShape Reference
CreateDiagram Method

Previous pageReturn to chapter overviewNext page

Creates a new diagram.

public DiagramController CreateDiagram(string name)

Description

Creates a new diagram in the repository, creates a diagram controller for it and returns the controller. This is the recommended way to create a diagram in a user interface application.