API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_get_linetypeindex |
The function returns an index of the line type in the internal container by line pattern and pattern length.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_linetypeindex( HIG_VECT_DRWNG hDrwng, long nPattern, float fPatternlen, long* lpIndex ); |
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Handle to the Drawing. |
nPattern | long | Line pattern. |
fPatternlen | float | Actual length of the pattern. |
lpIndex | long* | Buffer for the line type index. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
If line type with such attributes does still not exist, it is created.