You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Pixel Access > PixelSetColor Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PixelSetColor Method

Sets the color of a specified pixel in a GdPicture image.

C#
public GdPictureStatus PixelSetColor(
    int ImageID, 
    int DstLeft, 
    int DstTop, 
    Color PixelColor
);
Visual Basic
Public Function PixelSetColor(
    ByVal ImageID As Integer, 
    ByVal DstLeft As Integer, 
    ByVal DstTop As Integer, 
    ByVal PixelColor As Color
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
DstLeft 
Value that specifies the x-coordinate (column) of the pixel.  
DstTop 
Value that specifies the y-coordinate (row) of the pixel.  
PixelColor 
Color Object. You can build a Color Object using the ARGB() function. Color of the selected pixel.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.