Compartilhar via


Diagram.LassoSelect(RectangleD, Boolean) Method

Definition

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.

Applies to