Model in EJ 1 ASP.NET MVC Diagram
23 Sep 2020 / 1 minute to read
The Diagram model represents the data to render the Diagram and to manipulate the Diagram elements. The following code illustrates how to define Diagram model.
//Creates diagram <div> @Html.EJ().Diagram("diagram").Width("100%").Height("100%").PageSettings(s=>s.PageWidth(2000).PageHeight(2000)) </div>
To explore more model properties, refer to Model Properties.
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page