SetPixel Method (DeviceContext)
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 As Color, _
ByVal As Point _
)
public void SetPixel(
Color ,
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