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

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

C#
public Color PixelGetColor(
    int ImageID, 
    int SrcLeft, 
    int SrcTop
);
Visual Basic
Public Function PixelGetColor(
    ByVal ImageID As Integer, 
    ByVal SrcLeft As Integer, 
    ByVal SrcTop As Integer
) As Color
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
SrcLeft 
Value that specifies the x-coordinate (column) of the pixel.  
SrcTop 
Value that specifies the y-coordinate (row) of the pixel.  
Returns

Color. Color Object. You can build a Color Object using the ARGB() function. Color of the selected pixel.

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