API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_create_layer |
The function creates a layer with the specified name.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_create_layer( HIG_VECT_DRWNG hDrwng, LPCHAR lpName, HIG_VECT_LAYER* lpLayer ); |
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Handle to the Drawing. |
lpName | LPCHAR | Name of the layer to be created. |
lpLayer | HIG_VECT_LAYER* | Buffer for the newly created layer handle. |
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