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

This function sets an angle for the specified hatch line in radians.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatchline_set_lineangle(
        HIG_VECT_HATCHLINE hHatchline, 
        float LineAngle
);

Arguments:

Name Type Description
hHatchline HIG_VECT_HATCHLINE Handle of the hatch line.
LineAngle float Hatch line angle to be set.

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_hatchline_set_lineangle(hHatchLine, IG_VECT_PI / 2);
Is this page helpful?
Yes No
Thanks for your feedback.