Table of Contents

Method GetEntitiesFromBox

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

GetEntitiesFromBox(int, int, int, int)

Returns an array of vdraw entities that cross the specified box. Even if a small part of an entity lies inside the box, it is added in the array. The first two parameters define the first point of the box and the rest define the second point in pixel coordinates.

public object GetEntitiesFromBox(int xmin, int ymin, int xmax, int ymax)

Parameters

xmin int

The x value of the lower left point of the box in pixel coordinates.

ymin int

The y value of the lower left point of the box in pixel coordinates.

xmax int

The x value of the upper right point of the box in pixel coordinates.

ymax int

The y value of the upper right point of the box in pixel coordinates.

Returns

object

An array of the entities crossing the box or an empty array if no entity was found.

Remarks