Returns a subset of a collection of interactors that overlap with the given rectangle.

Namespace: TallComponents.Interaction.WinForms.Controls
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public InteractorCollection GetIntersecting(
	InteractorCollection collection,
	Rectangle rectangle
)
Visual Basic
Public Function GetIntersecting ( _
	collection As InteractorCollection, _
	rectangle As Rectangle _
) As InteractorCollection

Parameters

collection
Type: TallComponents.Interaction..::..InteractorCollection
The argument collection.
rectangle
Type: TallComponents.Interaction..::..Rectangle
The rectangle in viewer coordinates.

Return Value

The subset that intersects with the given rectangle.

Remarks

All interactors of the collection must be elements in this viewer. If they belong to another viewer, the result is undefined.

See Also