StructuredCompositeActivityDesigner.DrawConnectors Method (Graphics, Pen, Point[], LineAnchor, LineAnchor)

 

Draws all of the connectors to display on the StructuredCompositeActivityDesigner.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected void DrawConnectors(
	Graphics graphics,
	Pen pen,
	Point[] points,
	LineAnchor startCap,
	LineAnchor endCap
)

Parameters

graphics
Type: System.Drawing.Graphics

The Graphics on which to draw the connectors.

pen
Type: System.Drawing.Pen

The Pen to draw the connectors.

points
Type: System.Drawing.Point[]

The Point array that contains the endpoints for each of the connectors to draw.

startCap
Type: System.Workflow.ComponentModel.Design.LineAnchor

A LineAnchor that determines the graphic to draw at connector start points.

endCap
Type: System.Workflow.ComponentModel.Design.LineAnchor

A LineAnchor that determines the graphic to draw at connector end points.

Connectors are links between separate designers on a workflow design surface. These links appear as lines on the design surface and each line end connects to a visible point on the designers it connects. These points are called connection points.

.NET Framework
Available since 3.0
Return to top
Show: