Click or drag to resize

IMcGraphObjTextIntersects Method

Tests whether a rectangle intersects this graphic object.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Function Intersects ( 
	Left As Single,
	Top As Single,
	Right As Single,
	Bottom As Single
) As Boolean

Parameters

Left
Type: SystemSingle
Left side of the rectangle, in image coordinates.
Top
Type: SystemSingle
Top side of the rectangle, in image coordinates.
Right
Type: SystemSingle
Right side of the rectangle, in image coordinates.
Bottom
Type: SystemSingle
Bottom side of the rectangle, in image coordinates.

Return Value

Type: Boolean
True if the intersection between the rectangle and a visible, selectable object is non empty.

Implements

IMcGraphObjRectIntersects(Single, Single, Single, Single)
Remarks
The object must be selectable and visible for the intersection test to be True. If you want to test if a point is over a handle and not just anywhere over an object, use the HitTest method. The target rectangle is given in image coordinates, not screen or client coordinates.
See Also