共用方式為


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,可決定要在接點起始點繪製的圖形。

endCap
LineAnchor

LineAnchor,可決定要在接點結束點繪製的圖形。

備註

接點是工作流程設計介面上個別設計工具之間的連結。 這些連結會顯示為設計介面上的線條,而且每個線條結尾都會連接至其所連接之設計工具上的可見點。 這些點稱為連線點。

適用於