GetBounds Method
Collapse the table of content
Expand the table of content

ReadOnlyActivityGlyph.GetBounds Method (ActivityDesigner, Boolean)

 

Returns the bounds for the glyph on the specified ActivityDesigner.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public override Rectangle GetBounds(
	ActivityDesigner designer,
	bool activated
)

Parameters

designer
Type: System.Workflow.ComponentModel.Design.ActivityDesigner

The ActivityDesigner with which the glyph is associated.

activated
Type: System.Boolean

true to indicate whether the glyph appears on the activity designer surface; otherwise, false.

Return Value

Type: System.Drawing.Rectangle

A Rectangle that represents the bounds for the glyph.

Exception Condition
ArgumentNullException

designer contains a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft