ComponentOne Imaging for UWP
C1.UWP.Imaging Assembly / C1.Xaml.Imaging Namespace / C1Bitmap Class / SetPixel Method / SetPixel(Int32,Int32,Byte,Byte,Byte,Byte) Method
Index of the column that contains the pixel.
Index of the row that contains the pixel.
Value of the red component of the pixel.
Value of the green component of the pixel.
Value of the blue component of the pixel.
Value of the alpha component of the pixel (0 is transparent, 0xff is opaque).

In This Topic
    SetPixel(Int32,Int32,Byte,Byte,Byte,Byte) Method
    In This Topic
    Sets the color of a pixel in the C1Bitmap.
    Syntax
    'Declaration
     
    Public Overloads Sub SetPixel( _
       ByVal col As System.Integer, _
       ByVal row As System.Integer, _
       ByVal red As System.Byte, _
       ByVal green As System.Byte, _
       ByVal blue As System.Byte, _
       ByVal alpha As System.Byte _
    ) 
    public void SetPixel( 
       System.int col,
       System.int row,
       System.byte red,
       System.byte green,
       System.byte blue,
       System.byte alpha
    )

    Parameters

    col
    Index of the column that contains the pixel.
    row
    Index of the row that contains the pixel.
    red
    Value of the red component of the pixel.
    green
    Value of the green component of the pixel.
    blue
    Value of the blue component of the pixel.
    alpha
    Value of the alpha component of the pixel (0 is transparent, 0xff is opaque).
    See Also