ImageGear for C and C++ on Windows v20.3 - Updated
IG_vect_drwng_get_linetypeindex
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.

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.

Is this page helpful?
Yes No
Thanks for your feedback.