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
xminintThe x value of the lower left point of the box in pixel coordinates.
yminintThe y value of the lower left point of the box in pixel coordinates.
xmaxintThe x value of the upper right point of the box in pixel coordinates.
ymaxintThe 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.