%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
GetEntitiesInWindowBox Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : GetEntitiesInWindowBox Method
xmin
The x value of the lower left point of the box in pixel coordinates.
ymin
The y value of the lower left point of the box in pixel coordinates.
xmax
The x value of the upper right point of the box in pixel coordinates.
ymax
The y value of the upper right point of the box in pixel coordinates.
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.

Syntax

JScript 
public function GetEntitiesInWindowBox( 
   xmin : int,
   ymin : int,
   xmax : int,
   ymax : int
) : Object;

Parameters

xmin
The x value of the lower left point of the box in pixel coordinates.
ymin
The y value of the lower left point of the box in pixel coordinates.
xmax
The x value of the upper right point of the box in pixel coordinates.
ymax
The y value of the upper right point of the box in pixel coordinates.

Return Value

>An array of the entities inside the box or an empty array if no entity is found.

See Also