ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_hatch_get_line
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Hatch Functions > IG_vect_hatch_get_line

This function gets the handle of the hatch line specified by the Index.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatch_get_line(
        HIG_VECT_VECTORHATCH hHatch, 
        long Index, 
        HIG_VECT_HATCHLINE* lpLine
);

Arguments:

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

 
Copy Code
HIG_VECT_HATCHLINE hLine;
IG_vect_hatch_get_line(hHatch, 0, &hLine);
Is this page helpful?
Yes No
Thanks for your feedback.