Edytuj

Udostępnij za pośrednictwem


Point.PieSliceLocation(XlPieSliceLocation, XlPieSliceIndex) Method

Definition

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.

public double PieSliceLocation (Microsoft.Office.Interop.Excel.XlPieSliceLocation loc, Microsoft.Office.Interop.Excel.XlPieSliceIndex Index = Microsoft.Office.Interop.Excel.XlPieSliceIndex.xlOuterCenterPoint);
Public Function PieSliceLocation (loc As XlPieSliceLocation, Optional Index As XlPieSliceIndex = Microsoft.Office.Interop.Excel.XlPieSliceIndex.xlOuterCenterPoint) As Double

Parameters

loc
XlPieSliceLocation

Specifies a horizontal or vertical coordinate.

Index
XlPieSliceIndex

Specifies which pie slice position coordinate to return. The default value is xlOuterCenterPoint.

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.

Remarks

This property only applies to pie and doughnut chart types.

Applies to