Syncfusion.EJ
Example 


GetLayoutInfo Property

Gets or sets the orientation of trees/sub trees
Syntax
'Declaration
 
<DefaultValueAttribute()>
<JsonPropertyAttribute("getLayoutInfo")>
Public Property GetLayoutInfo As String
'Usage
 
Dim instance As Layout
Dim value As String
 
instance.GetLayoutInfo = value
 
value = instance.GetLayoutInfo
[DefaultValue()]
[JsonProperty("getLayoutInfo")]
public string GetLayoutInfo {get; set;}

Property Value

null
Example
<script>
 function getLayoutInfo(diagram, node, options) { options.orientation = "vertical"; options.type = "left"; offset = 10;};
</script>
        DiagramProperties Model = new DiagramProperties();
        Model.Layout.GetLayoutInfo = "getLayoutInfo";
        ViewData["diagramModel"] = Model;
AssemblyVersion

Syncfusion.EJ: 17.2460.0.34

See Also