ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_linetype_get_pattern
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Line Type Functions > IG_vect_linetype_get_pattern

This function gets the line type pattern.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_linetype_get_pattern(
        HIG_VECT_LINETYPE hLinetype, 
        LONG* lpPattern
);

Arguments:

Name Type Description
hLinetype HIG_VECT_LINETYPE Handle to the Line Type.
lpPattern LONG* Line pattern being returned.

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:

The pattern is a 32-bit mask. The line segment is drawn if the corresponding bit is 1.