StructuredCompositeActivityDesigner.DrawConnectors 方法

定義

繪製所有連接器以顯示在 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)

參數

graphics
Graphics

Graphics就是用來畫接頭的。

pen
Pen

然後 Pen 畫接頭。

points
Point[]

包含 Point 每個連接器要繪製的端點的陣列。

startCap
LineAnchor

LineAnchor A 決定在連接點繪製的圖形。

endCap
LineAnchor

LineAnchor A 決定在連接端點繪製的圖形。

備註

連接器是工作流設計表面上不同設計師之間的連結。 這些連結以設計表面上的線條形式出現,每條線端都連接到設計師上可見的一點。 這些點稱為連接點。

適用於