[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.AddConnector

AddConnector Method

AddConnector(ConnectorType, double, double, double, double)

创建一个连接器。返回表示新连接器的IShape 对象。

Declaration
IShape AddConnector(ConnectorType type, double beginX, double beginY, double endX, double endY)
Parameters
Type Name Description
ConnectorType type

要添加的连接器类型。

double beginX

连接器起点的水平位置,相对于图表区域的左上角,以点为单位。

double beginY

连接器起点的垂直位置,相对于图表区域的左上角,以点为单位。

double endX

连接器终点的水平位置,相对于图表区域的左上角,以点为单位。

double endY

连接器终点的垂直位置,相对于图表区域的左上角,以点为单位。

Returns
Type Description
IShape

IShape 对象。