This documentation is archived and is not being maintained.

XlLegendPosition Enumeration

Specifies the position of the legend on a chart.

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

public enum XlLegendPosition

Member nameDescription
xlLegendPositionBottomBelow the chart.
xlLegendPositionCornerIn the upper right-hand corner of the chart border.
xlLegendPositionLeftTo the left of the chart.
xlLegendPositionRightTo the right of the chart.
xlLegendPositionTopAbove the chart.
xlLegendPositionCustomA custom position.