Point.PieSliceLocation Method
Returns the vertical or horizontal position of a point on a chart item, in points, from the top or left edge of the object to the top or left edge of the chart area.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function PieSliceLocation ( _
loc As XlPieSliceLocation, _
Index As XlPieSliceIndex _
) As Double
'Usage
Dim instance As Point
Dim loc As XlPieSliceLocation
Dim Index As XlPieSliceIndex
Dim returnValue As Double
returnValue = instance.PieSliceLocation(loc, _
Index)
double PieSliceLocation(
XlPieSliceLocation loc,
XlPieSliceIndex Index
)
Parameters
loc
Type: Microsoft.Office.Interop.Excel.XlPieSliceLocationSpecifies a horizontal or vertical coordinate.
Index
Type: Microsoft.Office.Interop.Excel.XlPieSliceIndexSpecifies which pie slice position coordinate to return. The default value is xlOuterCenterPoint.
Return Value
Type: System.Double
The vertical or horizontal position of a point on a chart item, in points, from the top or left edge of the object to the top or left edge of the chart area.
Remarks
This property only applies to pie and doughnut chart types.