ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_layer_set_hidden
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Functions > IG_vect_layer_set_hidden

The function sets nHidden attribute for the layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_set_hidden(
        HIG_VECT_LAYER hLayer, 
        VECT_BOOL nHidden
);

Arguments:

Name Type Description
hLayer HIG_VECT_LAYER Handle to the Layer.
nHidden VECT_BOOL Attribute being set. If VECT_TRUE, then the layer is hidden.

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