共用方式為


SelectionGlyph.GetGrabHandles(ActivityDesigner) 方法

定義

傳回矩形陣列,表示選取圖像的抓取控點。

public:
 virtual cli::array <System::Drawing::Rectangle> ^ GetGrabHandles(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer);
public virtual System.Drawing.Rectangle[] GetGrabHandles (System.Workflow.ComponentModel.Design.ActivityDesigner designer);
abstract member GetGrabHandles : System.Workflow.ComponentModel.Design.ActivityDesigner -> System.Drawing.Rectangle[]
override this.GetGrabHandles : System.Workflow.ComponentModel.Design.ActivityDesigner -> System.Drawing.Rectangle[]
Public Overridable Function GetGrabHandles (designer As ActivityDesigner) As Rectangle()

參數

designer
ActivityDesigner

與選取圖像關聯的 ActivityDesigner

傳回

要在選取圖像上顯示之抓取控點的 Rectangle 陣列。

備註

抓取控點就是選取圖像邊緣上的小方塊,使用者可以抓取並移動這個小方塊,以拖曳或調整圖像的大小。

適用於