Diagram::LassoSelect Method (RectangleD, Boolean)
Visual Studio 2015
Gets the list of shapes that are in the selection rectangle.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: DiagramItemCollection^ LassoSelect( RectangleD rectangle, bool requireCompleteContainment )
Parameters
- rectangle
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
The selection rectangle.
- requireCompleteContainment
-
Type:
System::Boolean
true 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.
A hit test verifies whether a point is over a shape in the diagram.
Show: