'Declaration Public Function New( _ ByVal attributes As ImGearPDEImageAttrs, _ ByVal matrix As ImGearPDFFixedMatrix, _ ByVal options As ImGearPDEImageDataFlags, _ ByVal colorSpace As ImGearPDEColorSpace, _ ByVal color As ImGearPDEColorValue, _ ByVal filters As ImGearPDEFilterArray, _ ByVal dataStream As ImGearPDFStream, _ ByVal data() As Byte _ )
'Usage Dim attributes As ImGearPDEImageAttrs Dim matrix As ImGearPDFFixedMatrix Dim options As ImGearPDEImageDataFlags Dim colorSpace As ImGearPDEColorSpace Dim color As ImGearPDEColorValue Dim filters As ImGearPDEFilterArray Dim dataStream As ImGearPDFStream Dim data() As Byte Dim instance As New ImGearPDEImage(attributes, matrix, options, colorSpace, color, filters, dataStream, data)
public ImGearPDEImage( ImGearPDEImageAttrs attributes, ImGearPDFFixedMatrix matrix, ImGearPDEImageDataFlags options, ImGearPDEColorSpace colorSpace, ImGearPDEColorValue color, ImGearPDEFilterArray filters, ImGearPDFStream dataStream, byte[] data )
public: ImGearPDEImage( ImGearPDEImageAttrs* attributes, ImGearPDFFixedMatrix* matrix, ImGearPDEImageDataFlags options, ImGearPDEColorSpace* colorSpace, ImGearPDEColorValue* color, ImGearPDEFilterArray* filters, ImGearPDFStream* dataStream, byte[]* data )
Parameters
- attributes
- ImGearPDEImageAttrs for the image attributes.
- matrix
- All images are defined in image space. Matrix defines the transformation from image space to user space.
- options
- ImGearPDEImageDataFlags options.
- colorSpace
- Color space of the image. When the image is an image mask, colorSpace is the color space of the color argument.
- color
- ImGearPDEColorValue object. If the image is an image mask, color must be provided.
- filters
- ImGearPDEFilterArray 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 parameter 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.
Return Value
The new instance of ImGearPDEImage class object.