ImageGear .NET v25.0 - Updated
ImGearPDEImage Constructor




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEImage Class : ImGearPDEImage Constructor
ImGearPDEImageAttrs for the image attributes.
All images are defined in image space. Matrix defines the transformation from image space to user space.
ImGearPDEImageDataFlags options.
Color space of the image. When the image is an image mask, colorSpace is the color space of the color argument.
ImGearPDEColorValue object. If the image is an image mask, color must be provided.
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.
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.
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.
Initializes a new instance of the ImGearPDEImage class.
Syntax
'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)

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.
Remarks
The image data may be specified as a stream or as a buffer. If DataStream is non-null, Data is ignored.
See Also

Reference

ImGearPDEImage Class
ImGearPDEImage Members
ImGearPDEImageAttrs Class
ImGearPDFFixedMatrix Class
ImGearPDEImageDataFlags Enumeration
ImGearPDEColorSpace Class
ImGearPDEColorValue Class
ImGearPDEFilterArray Class
ImGearPDFStream Class