Diagram.LassoSelect(RectangleD, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of DiagramItems within the specified rectangle in world units.
public:
Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ LassoSelect(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle, bool requireCompleteContainment);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection LassoSelect (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle, bool requireCompleteContainment);
member this.LassoSelect : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
Public Function LassoSelect (rectangle As RectangleD, requireCompleteContainment As Boolean) As DiagramItemCollection
Parameters
- rectangle
- RectangleD
The bounding rectangle.
- requireCompleteContainment
- Boolean
A value indicating whether the shape's bounding box must be entirely within the bounding rectangle in order to be added to the collection.
Returns
A collection of DiagramItems within the specified bounding rectangle in world units.