Back to Devexpress

ShapeGeometry.ConnectionSiteCount Property

officefileapi-devexpress-dot-spreadsheet-dot-shapegeometry-05ee907b.md

latest1.9 KB
Original Source

ShapeGeometry.ConnectionSiteCount Property

Returns the number of a shape’s connection sites.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int ConnectionSiteCount { get; }
vb
ReadOnly Property ConnectionSiteCount As Integer

Property Value

TypeDescription
Int32

A Int32 value that is the connection sites’ number.

|

Remarks

A connection site is used to attach connectors. The number and index order of connection sites depends on the shape’s geometry type. Generally, the index starts with the top side (0) and grows counterclockwise, as shown below.

Use ConnectorFormat.ConnectStartPoint and ConnectorFormat.ConnectEndPoint method to attach a connector to the shape’s connection site.

See Also

ShapeGeometry Interface

ShapeGeometry Members

DevExpress.Spreadsheet Namespace