ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_set_data

Sets data for an image.


Copy Code
        HIG_PDE_IMAGE hImage,
        LONG nFlags,
        LPBYTE lpData,
        LONG nLength 


Name Type Description
hImage HIG_PDE_IMAGE Image whose data is set.
nFlags LONG A set of enumIGPDEImageDataFlags flags. If AT_PDE_IMAGE_ENCODED_DATA is set, the data must be encoded for the current filters, and nLength is the length of the encoded data. If the AT_PDE_IMAGE_ENCODED_DATA flag is not set, data is not encoded and nLength is the size of the decoded data.
lpData LPBYTE Image data.
nLength LONG Length of data.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

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