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

This function creates a new hatch line and adds it to the hatch.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatch_create_line(
        HIG_VECT_VECTORHATCH hHatch, 
        HIG_VECT_HATCHLINE* lpLine
);

Arguments:

Name Type Description
hHatch HIG_VECT_VECTORHATCH Handle of the hatch.
lpLine HIG_VECT_HATCHLINE* Pointer to the buffer for the new hatch line 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

Example:

C
Copy Code
HIG_VECT_HATCHLINE hHatchLine;
IG_vect_hatch_create_line(hHatch, &hHatchLine);