ImageGear .NET - Updated
Item Property (ImGearPixel)




ImageGear23.Core Assembly > ImageGear.Core Namespace > ImGearPixel Class : Item Property
Channel index.
Channels indexing property.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal index As Integer _
) As Integer
'Usage
 
Dim instance As ImGearPixel
Dim index As Integer
Dim value As Integer
 
instance.Item(index) = value
 
value = instance.Item(index)
public int this[ 
   int index
]; {get; set;}
public: __property int get_Item   int index
;
public: __property void set_Item   int index,
   int value
;
public:
property int default [int] {
   int get(int index);
   void set (int indexint value);
}

Parameters

index
Channel index.

Property Value

Value from 0 to 2^(ChannelDepth) - 1 range.
Remarks

Gets or sets the color value using channel index.

NOTE: for initialization of pixel value for using it with bitonal images, i.e. Run-Ends DIBs, please use 0 value for black color, and 1 value for white color.

See Also

Reference

ImGearPixel Class
ImGearPixel Members