ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_hatch_get_linecount
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Hatch Functions > IG_vect_hatch_get_linecount

This function gets the total line count in the hatch.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatch_get_linecount(
        HIG_VECT_VECTORHATCH hHatch, 
        long* lpLineCount
);

Arguments:

Name Type Description
hHatch HIG_VECT_VECTORHATCH Handle of the hatch.
lpLineCount long* Pointer to the output count of lines in the hatch.

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

Example:

 
Copy Code
long nLineCount;
IG_vect_hatch_get_linecount(hHatch, &nLineCount);