Version

FindDiagramItemsInRect<T> Method

Finds the diagram items that have DiagramItem.Bounds intersecting the specified rectangle.
Syntax
'Declaration
 
Public Function FindDiagramItemsInRect(Of T As DiagramItem)( _
   ByVal rect As Rect _
) As IEnumerable(Of T)
public IEnumerable<T> FindDiagramItemsInRect<T>( 
   Rect rect
)
where T: DiagramItem

Parameters

rect
The rectangle in which to look for. The coordinates are in WorldRect coordinates.

Type Parameters

T
The type of DiagramItems to look for.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also