This documentation is archived and is not being maintained.

XlLegendPosition Enumeration

Specifies the position of the legend on a chart.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum XlLegendPosition

Member nameDescription
xlLegendPositionBottomBelow the chart.
xlLegendPositionCornerIn the upper right-hand corner of the chart border.
xlLegendPositionLeftLeft of the chart.
xlLegendPositionRightRight of the chart.
xlLegendPositionTopAbove the chart.
xlLegendPositionCustomA custom position.