%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
GetEntitiesFromLayer Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : GetEntitiesFromLayer Method
layerName
The name of the layer from which the entities will be returned.
Returns all entities assigned to a specific layer and belongs to a Layout object.

Syntax

JScript 
public function GetEntitiesFromLayer( 
   layerName : String
) : Object;

Parameters

layerName
The name of the layer from which the entities will be returned.

Return Value

An array of entities set to the specified layer or an empty array.

Remarks

Entities within Block are not considered.Only entities inside Layout or Model are checked.

See Also