Table of Contents

Method GetEntityItem

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

GetEntityItem(string)

Returns an entity object from a handle string

public object GetEntityItem(string item)

Parameters

item string

The object handle as string.

Returns

object

An entity object from a handle string

Examples

var count = 0;
var vdcanvas = vdmanager.vdrawObject('display');
var activelayout = vdcanvas.GetActiveLayout();
for (var k = 0; k < activelayout.Entities.Items.length; k++) {
    var fig = vdcanvas.GetEntityItem(activelayout.Entities.Items[k]);
    if (fig.HighLight != null && fig.HighLight == true) count++;
}