ImageGear for C and C++ on Windows v20.0 - Updated
IG_image_layers_flatten
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Layer Functions > IG_image_layers_flatten

This function renders all the visible layers into the raster composition DIB.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_layers_flatten( HIGEAR hIGear);

Arguments:

Name Type Description
hIGear HIGEAR Handle to the image whose layers are flattened.

Return Value:

Error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Remarks:

This function can be used to flatten the layered page into the raster page. As a result of this function the raster image specified by HIGEAR is regenerated from the layer array composition attached to the same image.

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