Back to Devexpress

ConnectorFormat.HandleCount Property

officefileapi-devexpress-dot-spreadsheet-dot-connectorformat-524e890e.md

latest1.9 KB
Original Source

ConnectorFormat.HandleCount Property

Returns or specifies the number of adjustment handles for an elbow or curved connector.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int HandleCount { get; set; }
vb
Property HandleCount As Integer

Property Value

TypeDescription
Int32

The number of adjustment handles (from two to five).

|

Remarks

Use the HandleCount property to specify the number of adjustment handles for elbow and curved connectors. These handles are used to change a connector’s size and form. A connector can have two to five handles (including connection points).

The code example below creates an elbow connector with three line segments and three handles (“bentConnector3”).

csharp
var connector = worksheet.Shapes.AddConnector(ConnectorType.Elbow, 50f, 50f, 450f, 450f);
connector.ConnectorFormat.HandleCount = 3;
vb
Dim connector As Shape = worksheet.Shapes.AddConnector(ConnectorType.Elbow, 50F, 50F, 450F, 450F)
connector.ConnectorFormat.HandleCount = 3

See Also

ConnectorFormat Interface

ConnectorFormat Members

DevExpress.Spreadsheet Namespace