ImageGear .NET v24.12 - Updated
Item Property (ImGearPixelArray)




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearPixelArray Class : Item Property
Index of pixel in the array.
Channel number in particular pixel.
Indexed property for direct access to contained pixels.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal pixel As Integer, _
   ByVal channel As Integer _
) As Integer
'Usage
 
Dim instance As ImGearPixelArray
Dim pixel As Integer
Dim channel As Integer
Dim value As Integer
 
instance.Item(pixel, channel) = value
 
value = instance.Item(pixel, channel)
public int this[ 
   int pixel,
   int channel
]; {get; set;}
public: __property int get_Item   int pixel,
   int channel
;
public: __property void set_Item   int pixel,
   int channel,
   int value
;
public:
property int default [int,int] {
   int get(int pixelint channel);
   void set (int pixelint channelint value);
}

Parameters

pixel
Index of pixel in the array.
channel
Channel number in particular pixel.

Property Value

Color value of requested channel in requested pixel.
Remarks
Provides access to color values of stored pixels and their channels.
See Also

Reference

ImGearPixelArray Class
ImGearPixelArray Members