Point.PieSliceLocation Method
Returns the vertical or horizontal position, in points, of a point on a chart item from the top or left edge of the object to the top or left edge of the chart area.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint.XlPieSliceLocation
Specifies a horizontal or vertical coordinate.
- Index
Type: Microsoft.Office.Interop.PowerPoint.XlPieSliceIndex
Specifies which pie slice position coordinate to return. The default is xlOuterCenterPoint.
Return Value
Type: System.Double
Remarks
This property applies only to pie chart types.