編輯

共用方式為


StructuredCompositeActivityDesigner.DrawConnectors Method

Definition

Draws all of the connectors to display on the StructuredCompositeActivityDesigner.

protected:
 void DrawConnectors(System::Drawing::Graphics ^ graphics, System::Drawing::Pen ^ pen, cli::array <System::Drawing::Point> ^ points, System::Workflow::ComponentModel::Design::LineAnchor startCap, System::Workflow::ComponentModel::Design::LineAnchor endCap);
protected void DrawConnectors (System.Drawing.Graphics graphics, System.Drawing.Pen pen, System.Drawing.Point[] points, System.Workflow.ComponentModel.Design.LineAnchor startCap, System.Workflow.ComponentModel.Design.LineAnchor endCap);
member this.DrawConnectors : System.Drawing.Graphics * System.Drawing.Pen * System.Drawing.Point[] * System.Workflow.ComponentModel.Design.LineAnchor * System.Workflow.ComponentModel.Design.LineAnchor -> unit
Protected Sub DrawConnectors (graphics As Graphics, pen As Pen, points As Point(), startCap As LineAnchor, endCap As LineAnchor)

Parameters

graphics
Graphics

The Graphics on which to draw the connectors.

pen
Pen

The Pen to draw the connectors.

points
Point[]

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

startCap
LineAnchor

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

endCap
LineAnchor

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

Remarks

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.

Applies to