共用方式為


ShadowGlyph.GetBounds(ActivityDesigner, Boolean) 方法

定義

傳回特定 ActivityDesigner 上的圖像界限。

public:
 override System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public override System.Drawing.Rectangle GetBounds (System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overrides Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle

參數

designer
ActivityDesigner

與圖像相關聯的 ActivityDesigner

activated
Boolean

true,用來指示圖像是否顯示在活動設計工具介面上,否則為 false

傳回

Rectangle,代表圖像的界限。

適用於