Share via


SetPixel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets a single pixel to a color.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub SetPixel ( _
    color As Color, _
    x As Integer, _
    y As Integer _
)
public void SetPixel(
    Color color,
    int x,
    int y
)
public:
void SetPixel(
    Color color, 
    int x, 
    int y
)
member SetPixel : 
        color:Color * 
        x:int * 
        y:int -> unit 
public function SetPixel(
    color : Color, 
    x : int, 
    y : int
)

Parameters

Remarks

In addition to the values Black and White, your program can set the color parameter to any color using RGB values in hexadecimal format. For example, setting color to 0x00FF0000 specifies red.

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace