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

Dim xlLegendPosition1 As XlLegendPosition = XlLegendPosition.xlLegendPositionBottom

public enum XlLegendPosition
public enum XlLegendPosition
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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms