ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Functions > IG_vect_layer_create_attrib |
The function creates the new attribute specified by nAttrib and returns a pointer to the attribute being created.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_layer_create_attrib( HIG_VECT_LAYER hLayer, enumIGVectAttrib nAttrib, VOID** lplpAttribPtr ); |
Name | Type | Description |
hLayer | HIG_VECT_LAYER | Handle to the Layer. |
nAttrib | enumIGVectAttrib | Type of the attribute being created. |
lpAttribPtr | VOID** | Buffer that receives a pointer or handle to the attribute. See IG_vect_layer_get_attrib() for a description. |
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