Creates new fill type with the gradient object specified by gradient name and type.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_create_gradientfilltype(
HIG_VECT_DRWNG hDrwng,
enumIGVectGradientType nType,
LPCHAR lpName,
long* lpIndex
);
|
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Vector data handle. |
nType | enumIGVectGradientType | Gradient fill type. |
lpName | LPCHAR | Name of the gradient fill type to be created. |
lpIndex | long* | Returns the index of the new gradient fill type. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None