ImageGear .NET - Updated
GetLinetypeIndex Method (ImGearVectorData)




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorData Class : GetLinetypeIndex Method
Fill pattern.
Absolute length of the pattern.
Returns the index of the line type in the internal container by the line pattern and pattern length.
Syntax
'Declaration
 
Public Function GetLinetypeIndex( _
   ByVal pattern As Integer, _
   ByVal patternLength As Single _
) As Integer
'Usage
 
Dim instance As ImGearVectorData
Dim pattern As Integer
Dim patternLength As Single
Dim value As Integer
 
value = instance.GetLinetypeIndex(pattern, patternLength)
public int GetLinetypeIndex( 
   int pattern,
   float patternLength
)
public: int GetLinetypeIndex( 
   int pattern,
   float patternLength
) 
public:
int GetLinetypeIndex( 
   int pattern,
   float patternLength
) 

Parameters

pattern
Fill pattern.
patternLength
Absolute length of the pattern.

Return Value

Any integer value.
Remarks
If a line type with such attributes does not exist, it is created.
See Also

Reference

ImGearVectorData Class
ImGearVectorData Members