Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the list of shapes that are in the selection rectangle.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function LassoSelect ( _
rectangle As RectangleD, _
requireCompleteContainment As Boolean _
) As DiagramItemCollection
public DiagramItemCollection LassoSelect(
RectangleD rectangle,
bool requireCompleteContainment
)
public:
DiagramItemCollection^ LassoSelect(
RectangleD rectangle,
bool requireCompleteContainment
)
member LassoSelect :
rectangle:RectangleD *
requireCompleteContainment:bool -> DiagramItemCollection
public function LassoSelect(
rectangle : RectangleD,
requireCompleteContainment : boolean
) : DiagramItemCollection
Parameters
rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe selection rectangle.
requireCompleteContainment
Type: System.Booleantrue to include a shape only if the whole shape is in the selection rectangle; false to include a shape that is partially in the selection rectangle.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The list of shapes that are in the selection rectangle.
Remarks
A hit test verifies whether a point is over a shape in the diagram.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.