[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat

Interface IConnectorFormat

Namespace
GrapeCity.Documents.Excel.Drawing
Assembly
GcDocs.Excel.dll

Represents properties and methods that apply to connectors.

public interface IConnectorFormat

Properties

BeginConnected

Gets whether the connector is connected to a shape (True if the beginning of the specified connector is connected to a shape).

bool BeginConnected { get; }

Property Value

bool

BeginConnectedShape

Returns the IShape object that represents the shape that the beginning of the specified connector is attached to.

IShape BeginConnectedShape { get; }

Property Value

IShape

BeginConnectionSite

Returns an integer that specifies the connection site that the beginning of a connector is connected to.

int BeginConnectionSite { get; }

Property Value

int

EndConnected

Gets whether the end of the connector is connected to a shape (True if the end of the specified connector is connected to a shape).

bool EndConnected { get; }

Property Value

bool

EndConnectedShape

Returns the IShape object that represents the shape that the end of the specified connector is attached to.

IShape EndConnectedShape { get; }

Property Value

IShape

EndConnectionSite

Returns an integer that specifies the connection site that the end of a connector is connected to.

int EndConnectionSite { get; }

Property Value

int

Type

Gets or sets the connector format type.

ConnectorType Type { get; set; }

Property Value

ConnectorType

Methods

BeginConnect(IShape, int)

Attaches the beginning of the specified connector to a specified shape.

void BeginConnect(IShape connectedShape, int connectionSite)

Parameters

connectedShape IShape

Required IShape object. The shape to attach the beginning of the connector to. The specified Shape object must be in the same IShapes collection as the connector.

connectionSite int

Required Integer. A connection site on the shape specified by ConnectedShape.

BeginDisconnect()

Detaches the beginning of the specified connector from the shape it’s attached to.

void BeginDisconnect()

EndConnect(IShape, int)

Attaches the end of the specified connector to a specified shape.

void EndConnect(IShape connectedShape, int connectionSite)

Parameters

connectedShape IShape

Required IShape object. The shape to attach the end of the connector to. The specified Shape object must be in the same IShapes collection as the connector.

connectionSite int

Required Integer. A connection site on the shape specified by ConnectedShape.

EndDisconnect()

Detaches the end of the specified connector from the shape it’s attached to.

void EndDisconnect()