Eyeshot 10 WinForms API Reference
GetEntityLineWeight Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : GetEntityLineWeight Method
The entity
The parent BlockReference
The layers list
Gets the entity line weight.
Syntax
'Declaration
 
Protected Shared Function GetEntityLineWeight( _
   ByVal ent As Entity, _
   ByVal parent As Entity, _
   ByVal layers As LayerList _
) As Single
protected static float GetEntityLineWeight( 
   Entity ent,
   Entity parent,
   LayerList layers
)

Parameters

ent
The entity
parent
The parent BlockReference
layers
The layers list

Return Value

The line entity.
Remarks
If the parent is not null and the devDept.Eyeshot.Entities.Entity.LineWeightMethod is devDept.Eyeshot.Entities.colorMethodType.byParent it recursively computes the LineWeight of the parent.
See Also

Reference

ViewportLayout Class
ViewportLayout Members