API Documentation > CorelDRAW > 2025-v26 > Layer > IVGLayer
Layer.CreateConnectorEx method
Creates a connector of a given type
Syntax:
Function CreateConnectorEx(ByVal Type As cdrConnectorType, ByVal Start As SnapPoint, ByVal End As SnapPoint) As Shape
Parameters:
Name Type Description
Type
Start
End
Remarks:
The CreateConnectorEx method creates a connector line of a given type at a specified location on a layer.