This function returns the index of a vector hatch fill type in the internal drawing container.
Declaration:
![]() |
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_hatchfilltypeindex( HIG_VECT_DRWNG hDrwng, char * lpHatchName, long * lpIndex ); |
Arguments:
Name | Type | Description |
hDrwng | HIG_VECT_DRWNG | Handle to the drawing. |
lpHatchName | char | Name of the hatch fill type. |
lpIndex | long | Pointer to a variable that will receive the index of the hatch fill type. |
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:
Hatch fill type uses line segments for filling.
Use IG_vect_drwng_get_filltype function to get the HIG_VECT_FILLTYPE object corresponding to the index.
Use IG_vect_filltype_get_vecthatch function to get the HIG_VECT_VECTORHATCH object and Hatch Functions to access to its properties.
![]() |
This function does not work with predefined hatch fill types, such as IG_VECT_FP_HATCH_CROSS. Use IG_vect_drwng_get_filltypeindex to get the index of a predefined hatch fill type in the drawing. |