Spread.Services Documentation
AddConnectorInPixel Method
GrapeCity.Documents.Spread.Drawing Namespace > IShapes Interface : AddConnectorInPixel Method
The connector type to add.
The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
Creates a connector. Returns the IShape object that represents the new connector.
Syntax
IShape AddConnectorInPixel( 
   ConnectorType type,
   System.float beginX,
   System.float beginY,
   System.float endX,
   System.float endY
)

Parameters

type
The connector type to add.
beginX
The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
beginY
The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document.
endX
The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
endY
The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document.

Return Value

The IShape object.
See Also

Reference

IShapes Interface
IShapes Members