Class OrgChartLayoutManager
This layout manager is used to draw organizational layouts.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class OrgChartLayoutManager : DirectedTreeLayoutManager
Constructors
OrgChartLayoutManager()
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager()
OrgChartLayoutManager(Model, RotateDirection, Single, Single)
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
RotateDirection | direction | The angular orientation of the tree. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
OrgChartLayoutManager(Model, RotateDirection, Single, Single, LayoutType, Int32)
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset, LayoutType layoutType, int nTreeLevel)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
RotateDirection | direction | The angular orientation of the tree. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
LayoutType | layoutType | Specifies the layout type of tree |
System.Int32 | nTreeLevel | Specifies the tree level upto which the default layout has to be maintained |
OrgChartLayoutManager(Model, RotateDirection, Single, Single, LayoutType, Int32, Boolean)
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset, LayoutType layoutType, int nTreeLevel, bool bSingleChildLayout)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
RotateDirection | direction | The angular orientation of the tree. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
LayoutType | layoutType | Specifies the layout type of tree |
System.Int32 | nTreeLevel | Specifies the tree level upto which the default layout has to be maintained |
System.Boolean | bSingleChildLayout | Determines whether the layout needs to done on single child node |
OrgChartLayoutManager(Model, Single, Single)
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager(Model model, float fHorizontalOffset, float fVerticalOffset)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
OrgChartLayoutManager(Model, Single, Single, Single)
Initializes a new instance of the OrgChartLayoutManager class.
Declaration
public OrgChartLayoutManager(Model model, float fRotation, float fHorizontalOffset, float fVerticalOffset)
Parameters
Type | Name | Description |
---|---|---|
Model | model | The diagram Model. |
System.Single | fRotation | The angular orientation of the tree. |
System.Single | fHorizontalOffset | Specifies the horizontal distance between adjacent nodes. |
System.Single | fVerticalOffset | Specifies the vertical distance between adjacent nodes. |
Properties
RotateDirection
Gets or sets the rotate direction.
Declaration
public RotateDirection RotateDirection { get; set; }
Property Value
Type |
---|
RotateDirection |
Methods
DoGraphLayout()
Applies the directed tree layout strategy on the diagram.
Declaration
protected override void DoGraphLayout()