ImageGear for C and C++ on Windows v20.1 - Updated
IG_PDE_image_set_data
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_data (
        HIG_PDE_IMAGE hImage,
        LONG nFlags,
        LPBYTE lpData,
        LONG nLength 
);

Arguments:

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.