The function returns an index of the line type in the internal container by line pattern and pattern length.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_linetypeindex(
HIG_VECT_DRWNG hDrwng,
long nPattern,
float fPatternlen,
long* lpIndex
);
|
|
Arguments:
| 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. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None
Remarks:
If line type with such attributes does still not exist, it is created.