Version

SetPixel Method

Sets the color of the specified pixel.
Syntax
'Declaration
 
Public Overridable Sub SetPixel( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal color As Color _
) 
public virtual void SetPixel( 
   int x,
   int y,
   Color color
)

Parameters

x
X-position of the pixel.
y
Y-position of the pixel.
color
A color to assign.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also