ImageGear for C and C++ on Windows v19.3 - Updated
IG_vect_drwng_get_linetype
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_get_linetype

The function returns line type by its position in the internal container.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_linetype(
        HIG_VECT_DRWNG hDrwng,
        long nIndex,
        HIG_VECT_LINETYPE* lpLinetype
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
nIndex long Index of the line type to be returned.
lpLinetype HIG_VECT_LINETYPE* Buffer for line type handle.

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