ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_viewport_get_layercont
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Viewport Functions > IG_vect_viewport_get_layercont

This function gets the Layer Container of the Viewport.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_viewport_get_layercont(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_LAYERCONT* lpLayercont
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpLayercont HIG_VECT_LAYERCONT* Buffer for the layer handle.

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

Remarks:

All layers from the container are supposed to be frozen in the viewport. All other layers (including hidden) are visible.