XlLegendPosition enumeration

Office 2013 and later

You should access and use this enumeration from the Excel primary interop assembly (PIA).

Specifies the position of the legend on a chart.

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

No code example is currently available or this language may not be supported.

Member nameDescription
xlLegendPositionBottomYou should access and use this enumeration from the Excel primary interop assembly (PIA). Below the chart.
xlLegendPositionCornerYou should access and use this enumeration from the Excel primary interop assembly (PIA). In the upper right-hand corner of the chart border.
xlLegendPositionLeftYou should access and use this enumeration from the Excel primary interop assembly (PIA). Left of the chart.
xlLegendPositionRightYou should access and use this enumeration from the Excel primary interop assembly (PIA). Right of the chart.
xlLegendPositionTopYou should access and use this enumeration from the Excel primary interop assembly (PIA). Above the chart.
xlLegendPositionCustomYou should access and use this enumeration from the Excel primary interop assembly (PIA). A custom position.
Show: