ImageGear .NET v25.1 - Updated
ImGearPixelArray Constructor




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.
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)
public ImGearPixelArray( 
   int pixelCount,
   int channelCount,
   int bitsPerChannel
)
public: ImGearPixelArray( 
   int pixelCount,
   int channelCount,
   int bitsPerChannel
)
public:
ImGearPixelArray( 
   int pixelCount,
   int channelCount,
   int 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

Reference

ImGearPixelArray Class
ImGearPixelArray Members