Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / GetEntityLineWeight Method
The entity
The parent BlockReference
The layers list

In This Topic
    GetEntityLineWeight Method
    In This Topic
    Gets the entity line weight.
    Syntax
    'Declaration
     
    Protected Shared Function GetEntityLineWeight( _
       ByVal ent As Entity, _
       ByVal parent As Entity, _
       ByVal layers As LayerKeyedCollection _
    ) As Single
    protected static float GetEntityLineWeight( 
       Entity ent,
       Entity parent,
       LayerKeyedCollection 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