Xceed Words for .NET v4.0 Documentation
SetPixel Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Bitmap Class : SetPixel Method
The pixel's x coordinate.
The pixel's y coordinate.
The pixel's Color.
Sets the Color of a target pixel.
Syntax
'Declaration
 
Public Sub SetPixel( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As Bitmap
Dim x As Integer
Dim y As Integer
Dim color As Color
 
instance.SetPixel(x, y, color)
public void SetPixel( 
   int x,
   int y,
   Color color
)

Parameters

x
The pixel's x coordinate.
y
The pixel's y coordinate.
color
The pixel's Color.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, 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

Reference

Bitmap Class
Bitmap Members