Point.PieSliceLocation(XlPieSliceLocation, XlPieSliceIndex) 方法

定义

获取点在图表项上的垂直或水平位置(以磅为单位),从对象的上边缘或左边缘到图表区的上边缘或左边缘。

public double PieSliceLocation (Microsoft.Office.Interop.Word.XlPieSliceLocation loc, Microsoft.Office.Interop.Word.XlPieSliceIndex Index = Microsoft.Office.Interop.Word.XlPieSliceIndex.xlOuterCenterPoint);
abstract member PieSliceLocation : Microsoft.Office.Interop.Word.XlPieSliceLocation * Microsoft.Office.Interop.Word.XlPieSliceIndex -> double
Public Function PieSliceLocation (loc As XlPieSliceLocation, Optional Index As XlPieSliceIndex = Microsoft.Office.Interop.Word.XlPieSliceIndex.xlOuterCenterPoint) As Double

参数

loc
XlPieSliceLocation

指定水平或垂直坐标。

Index
XlPieSliceIndex

指定要返回哪个饼图扇区位置坐标。 默认值为 xlOuterCenterPoint

返回

点在图表项上的垂直或水平位置(以磅为单位)。

注解

此属性仅适用于饼图类型。

适用于