ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / SetPixel Method
Specifies the color to be used to paint the point.
Specifies the coordinate, in logical units, of the point to be set.

In This Topic
    SetPixel Method
    In This Topic
    Sets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface.
    Syntax
    'Declaration
     
    Public Sub SetPixel( _
       ByVal color As System.Drawing.Color, _
       ByVal point As System.Drawing.Point _
    ) 
    public void SetPixel( 
       System.Drawing.Color color,
       System.Drawing.Point point
    )

    Parameters

    color
    Specifies the color to be used to paint the point.
    point
    Specifies the coordinate, in logical units, of the point to be set.
    See Also