ImageGear for C and C++ on Windows v19.3 - Updated
IG_vect_filltype_get_vecthatch
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Fill Type Functions > IG_vect_filltype_get_vecthatch

This function retrieves the handle of an HIG_VECT_VECTORHATCH object from the specified HIG_VECT_FILLTYPE object if the filltype pattern is IG_VECT_FP_HATCH_VECTOR.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_filltype_get_vecthatch(
   HIG_VECT_FILLTYPE hFilltype,
   HIG_VECT_VECTORHATCH* lpHatch
);

Arguments:

Name Type Description
hFilltype HIG_VECT_FILLTYPE Handle to the FillType object.
lpHatch HIG_VECT_VECTORHATCH* Pointer to an HIG_VECT_VECTORHATCH variable which will receive the hatch 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

Remarks:

Use IG_vect_filltype_get_pattern to get the fill pattern of an HIG_VECT_FILLTYPE object.

See also Hatch Line Functions for access to the HIG_VECT_VECTORHATCH object.