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

This function removes the hatch line specified with Index from the hatch and destroys it.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatch_delete_line(
        HIG_VECT_VECTORHATCH hHatch, 
        long Index
);

Arguments:

Name Type Description
hHatch HIG_VECT_VECTORHATCH Handle of the hatch.
Index long Index of the line to be deleted.

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
IG_vect_hatch_delete_line(hHatch, 0);