TXLSXWorksheet.AddConnector method

Unit: lxHandleX
Adds a connector line anchored to a cell rectangle.

Syntax

function AddConnector(AFromRow, AFromCol, AToRow, AToCol: Integer): TXLSXConnector;

Description

Adds a connector, meaning a line shape that the spreadsheet application treats as a connector rather than an ordinary line, anchored to the given cell rectangle, and returns it. Pass the two shapes it should stick to, along with the connection site on each, to TXLSXConnector.ConnectTo. The connector is written as xdr:cxnSp, and the application reports both ends attached to the shapes named.

See also