Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / IExcelChartReader8 Interface / ExcelSetLegendPosition Method / ExcelSetLegendPosition(Int16,Int32,PointF,SizeF,LegendPosition,Boolean,Boolean) Method
Index of sheetView.
Index of chart.
Location.
Size of the legend.
Legend position.
It is vertical.
It is from biff.


In This Topic
ExcelSetLegendPosition(Int16,Int32,PointF,SizeF,LegendPosition,Boolean,Boolean) Method
In This Topic
Set legend position.
Syntax
'Declaration
 
Overloads Function ExcelSetLegendPosition( _
   ByVal sheet As Short, _
   ByVal chartIndex As Integer, _
   ByVal location As PointF, _
   ByVal size As SizeF, _
   ByVal legendPosition As LegendPosition, _
   ByVal vertical As Boolean, _
   ByVal isBiff As Boolean _
) As Boolean
 
'Usage
 
Dim instance As IExcelChartReader8
Dim sheet As Short
Dim chartIndex As Integer
Dim location As PointF
Dim size As SizeF
Dim legendPosition As LegendPosition
Dim vertical As Boolean
Dim isBiff As Boolean
Dim value As Boolean
 
value = instance.ExcelSetLegendPosition(sheet, chartIndex, location, size, legendPosition, vertical, isBiff)

Parameters

sheet
Index of sheetView.
chartIndex
Index of chart.
location
Location.
size
Size of the legend.
legendPosition
Legend position.
vertical
It is vertical.
isBiff
It is from biff.

Return Value

TRUE if success, otherwise, FALSE
See Also