ImageGear .NET v24.12 - Updated
GetLinetypeIndex Method (ImGearVectorEntity)




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorEntity Class : GetLinetypeIndex Method
Returns the line type index of the entity.
Syntax
'Declaration
 
Public Function GetLinetypeIndex() As Integer
'Usage
 
Dim instance As ImGearVectorEntity
Dim value As Integer
 
value = instance.GetLinetypeIndex()
public int GetLinetypeIndex()
public: int GetLinetypeIndex(); 
public:
int GetLinetypeIndex(); 

Return Value

Non-negative value or either -2 or -3.
Remarks

If this value is equal to -3, then the actual line type index is defined by the entity layer. In case of -2 the index should be obtained from the block. Othervise, the value is used as actual line type index.

Actual line type can be retrieved by the index from the vectdata.GetLineType method, where vectdata is a vector data object.

See Also

Reference

ImGearVectorEntity Class
ImGearVectorEntity Members
SetLinetypeIndex Method