ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General API > IGPDFCtl Control > IGPDFCtl Methods > CreatePDEImage Method |
Creates an image object.
The image data may be specified as a stream or as a buffer. If DataStream is non-NULL, Data is ignored.
CreatePDEImage(Attributes As IGPDEImageAttrs, TransformMatrix
As IGPDFFixedMatrix, Flags As enumIGPDEImageDataFlags,
ColorSpace As IGPDEColorSpace, ColorValue As IGPDEColorValue,
Filters As IGPDEFilterArray, DataStream As IGPDFStream, Data As
IGIntegerArray) As IGPDEImage
Name | Description |
---|---|
Attributes | IGPDEImageAttrs Object for the image attributes. |
TransformMatrix | IGPDFFixedMatrix Object that holds the transformation matrix to use for the image. |
Flags | enumIGPDEImageDataFlags Enumeration flags. |
ColorSpace | Color space of the image. When the image is an imagemask, ColorSpace is the color space of the ColorValue argument. |
ColorValue | IGPDEColorValue Object . If the image is an image mask, ColorValue must be provided. |
Filters | IGPDEFilterArray Object that specifies which filters to use in encoding the contents; may be NULL. Filters will be used to encode the data in the order in which they are specified in the array. |
DataStream | Image data. If DataStream is non-NULL, data is ignored. If there is a great deal of data, as for a large image, it is recommended you use the DataStream parameter for the image data. |
Data | Single byte image data array. If DataStream is non-NULL, data is ignored. If there is a great deal of data, as for a large image, it is recommended you use the DataStream parameter for the image data. |