Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(ConnectionShape,Shape,Int32,ConnectorDirection)
The connector will be performed the action.
The shape will be connected by the connector.
The connection site index
The resize anchor of connector


In This Topic
ShapeActionsCommand Constructor(ConnectionShape,Shape,Int32,ConnectorDirection)
In This Topic
Initializes a new instance of the ShapeActionsCommand class for connecting to shape action.
Syntax
'Declaration
 
Public Function New( _
   ByVal connector As ConnectionShape, _
   ByVal targetShapeConnection As Shape, _
   ByVal connectionSiteIndex As Integer, _
   ByVal connectAnchor As ConnectorDirection _
)
 
'Usage
 
Dim connector As ConnectionShape
Dim targetShapeConnection As Shape
Dim connectionSiteIndex As Integer
Dim connectAnchor As ConnectorDirection
 
Dim instance As New ShapeActionsCommand(connector, targetShapeConnection, connectionSiteIndex, connectAnchor)

Parameters

connector
The connector will be performed the action.
targetShapeConnection
The shape will be connected by the connector.
connectionSiteIndex
The connection site index
connectAnchor
The resize anchor of connector
See Also