Legend.Position Property
Returns or sets the position of the legend on the chart.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property Position As XlLegendPosition
Get
Set
'Usage
Dim instance As Legend
Dim value As XlLegendPosition
value = instance.Position
instance.Position = value
XlLegendPosition Position { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlLegendPosition
Remarks
XlLegendPosition can be one of these XlLegendPosition constants:
xlLegendPositionCorner
xlLegendPositionRight
xlLegendPositionTop
xlLegendPositionBottom
xlLegendPositionLeft