ImageGear Professional DLL v18.1 for Windows
IG_vect_layer_create_attrib
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Functions > IG_vect_layer_create_attrib

Glossary Item Box

The function creates the new attribute specified by nAttrib and returns a pointer to the attribute being created.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_create_attrib(
        HIG_VECT_LAYER hLayer, 
        enumIGVectAttrib nAttrib,
        VOID** lplpAttribPtr
);

Arguments:

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.

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

©2014. Accusoft Corporation. All Rights Reserved.