This function returns the index of a vector hatch fill type in the internal drawing container.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_hatchfilltypeindex( HIG_VECT_DRWNG hDrwng, char* lpHatchName, long* lpIndex ); |
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. |
This function does not process image pixels.
None
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.