[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.AddConnector

AddConnector Method

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

Creates a connector. Returns the IShape object that represents the new connector.

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

The connector type to add.

double beginX

The horizontal position of the connector's starting point relative to the upper-left corner of the chart area, in points.

double beginY

The vertical position of the connector's starting point relative to the upper-left corner of the chart area, in points.

double endX

The horizontal position of the connector's end point relative to the upper-left corner of the chart area, in points.

double endY

The veritcal position of the connector's end point relative to the upper-left corner of the chart area, in points.

Returns
Type Description
IShape

The IShape object.