GdPicture image identifier.
Value that specifies the x-coordinate (column) of the pixel.
Value that specifies the y-coordinate (row) of the pixel.





In This Topic

PixelGetColor Method (GdPictureImaging)

In This Topic
Gets the color of a specified pixel in a GdPicture image, as Color object.
Syntax
'Declaration

 

Public Function PixelGetColor( _

   ByVal ImageID As Integer, _

   ByVal SrcLeft As Integer, _

   ByVal SrcTop As Integer _

) As Color
public Color PixelGetColor( 

   int ImageID,

   int SrcLeft,

   int SrcTop

)
public function PixelGetColor( 

    ImageID: Integer;

    SrcLeft: Integer;

    SrcTop: Integer

): Color; 
public function PixelGetColor( 

   ImageID : int,

   SrcLeft : int,

   SrcTop : int

) : Color;
public: Color PixelGetColor( 

   int ImageID,

   int SrcLeft,

   int SrcTop

) 
public:

Color PixelGetColor( 

   int ImageID,

   int SrcLeft,

   int SrcTop

) 

Parameters

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.

Return Value

The pixel color, as Color object.
See Also