Method GetEntitiesInWindowBox
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
GetEntitiesInWindowBox(int, int, int, int)
Returns an array of vdraw entities that lie entirely inside the specified box. Even if a small part of an entity lies outside the box, the entity is ignored. The first two parameters define the first point of the box and the rest define the second point in pixel coordinates.
public object GetEntitiesInWindowBox(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 inside the box or an empty array if no entity was found.