 
            This function renders all the visible layers into the raster composition DIB.
| 
                        Copy Code
                     | |
|---|---|
| AT_ERRCOUNT ACCUAPI IG_image_layers_flatten( HIGEAR hIGear); | |
| Name | Type | Description | 
|---|---|---|
| hIGear | HIGEAR | Handle to the image whose layers are flattened. | 
Error count.
All pixel formats supported by ImageGear for C and C++.
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.