HotXLS Docs

TXLSXConnector class

Properties

BeginShape and EndShape - the shapes the two ends are attached to
BeginConnectionId and EndConnectionId - the drawing numbers those ends are written with
BeginSiteIndex and EndSiteIndex - the connection site on each shape, counted from zero

Methods

ConnectTo attaches the two ends
Unit: lxHandleX
A line shape that sticks to two other shapes at a connection site on each.

Syntax

TXLSXConnector = class(TXLSXTextBox)

Description

A connector is a line shape whose two ends can be attached to other shapes: the application then keeps the line glued to them when either shape moves. Create one with AddConnector, then call ConnectTo with the two shapes and the connection site on each, sites counted from zero. An end left nil is written without a connection, which is what the application records for a connector whose shape was deleted. The connection identifiers are resolved while the drawing part is written, so the endpoint objects do not have to carry numbers.

See also