ImageGear for C and C++ on Windows v20.5 - Updated
IG_vect_drwng_find_layer
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_find_layer

The function looks for the layer by the name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_find_layer(
        HIG_VECT_DRWNG hDrwng,
        LPCHAR lpName,
        HIG_VECT_LAYER* lpLayer
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
lpName LPCHAR Name of the buffer for which to look.
lpLayer HIG_VECT_LAYER* 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

Is this page helpful?
Yes No
Thanks for your feedback.