ImageGear .NET - Updated November 28, 2017
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)

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