Environment.GetEntityLineWeight Method

Gets the entity line weight.
Protected Shared Function GetEntityLineWeight( _ 
ByVal ent As Entity, _ 
ByVal parent As Entity, _ 
ByVal layers As LayerKeyedCollection
) As Single
This language is not supported or no code example is available.
protected static float GetEntityLineWeight( 
Entity ent
Entity parent
LayerKeyedCollection layers 
)
This language is not supported or no code example is available.

Parameters

ent
Entity

The entity

parent
Entity

The parent BlockReference

layers
LayerKeyedCollection

The layers list

Return Value

float

The line entity.

Remarks
 
If the parent is not null and the Entity.LineWeightMethod is colorMethodType.byParent it recursively computes the LineWeight of the parent.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition