Point.PieSliceLocation Method
Gets 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.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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.Word.XlPieSliceLocation
Specifies a horizontal or vertical coordinate.
- Index
Type: Microsoft.Office.Interop.Word.XlPieSliceIndex
Specifies 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.
Remarks
This property applies only to pie chart types.