ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearPixelArray Class / ImGearPixelArray Constructor
Quantity of pixels to be stored in array.
Quantity of channels in an image whose pixels are stored in array.
Actual size of store to contain color value for each image channel.




In This Topic
ImGearPixelArray Constructor
In This Topic
Initializes a new instance of the ImGearPixelArray class.
Initializes a new instance of the ImGearPixelArray class.
Syntax
'Declaration
 
Public Function New( _
   ByVal pixelCount As Integer, _
   ByVal channelCount As Integer, _
   ByVal bitsPerChannel As Integer _
)
 
'Usage
 
Dim pixelCount As Integer
Dim channelCount As Integer
Dim bitsPerChannel As Integer
 
Dim instance As New ImGearPixelArray(pixelCount, channelCount, bitsPerChannel)

Parameters

pixelCount
Quantity of pixels to be stored in array.
channelCount
Quantity of channels in an image whose pixels are stored in array.
bitsPerChannel
Actual size of store to contain color value for each image channel.
Remarks
Initializes the pixel store using the pixel's defining attributes and the length of the array.
See Also