StructuredCompositeActivityDesigner.DrawConnectors 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
绘制要在 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)
参数
- startCap
- LineAnchor
确定要在连接器的起始点绘制的图形的 LineAnchor。
- endCap
- LineAnchor
确定要在连接器的终点绘制的图形的 LineAnchor。
注解
连接器是工作流设计图面上独立的设计器之间的链接。 这些链接在设计图面上显示为线,每条线的端点连接到其所连接的设计器上的可见点。 这些点称为连接点。