Share via


DiagramNode.Layout Property

Returns or sets a constant to indicate the formatting of the child nodes of an organization chart.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Layout As MsoOrgChartLayoutType
    Get
    Set
'Usage
Dim instance As DiagramNode
Dim value As MsoOrgChartLayoutType

value = instance.Layout

instance.Layout = value
MsoOrgChartLayoutType Layout { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoOrgChartLayoutType

Remarks

MsoOrgChartLayoutType can be one of these MsoOrgChartLayoutType constants.

msoOrgChartLayoutAssistant Places child nodes as assistants.

msoOrgChartLayoutBothHanging Places child nodes vertically from the parent node on both the left and the right side.

msoOrgChartLayoutLeftHanging Places child nodes vertically from the parent node on the left side.

msoOrgChartLayoutMixed Return value for a parent node that has children formatted using more than one MsoOrgChartLayoutType.

msoOrgChartLayoutRightHanging Places child nodes vertically from the parent node on the right side.

msoOrgChartLayoutStandard Places child nodes horizontally below the parent node.

See Also

Reference

DiagramNode Interface

DiagramNode Members

Microsoft.Office.Interop.Excel Namespace