ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_set_data_stream |
Sets a data stream for an image; can only be used for XObject images.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_data_stream ( HIG_PDE_IMAGE hImage, LONG nFlags, LPAT_PDE_FILTERARRAY lpFilters, HIG_PDF_STREAM hDataStream ); |
Name | Type | Description |
hImage | HIG_PDE_IMAGE | Image whose data stream is set. |
nFlags | LONG | enumIGPDEImageDataFlags flags. If the AT_PDE_IMAGE_ENCODED_DATA flag is set, the stream must be encoded. |
lpFilters | LPAT_PDE_FILTERARRAY | Pointer to AT_PDE_FILTERARRAY structure. If not NULL, is used to build the objects for the Filter, DecodeParms, and EncodeParms objects. If lpFilters is NULL, the existing Filter and DecodeParms are used. EncodeParms is set to DecodeParms if it exists. |
hDataStream | HIG_PDF_STREAM | Stream for the image data. |
Error count.
This function does not process image pixels.