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 As Integer, _
ByVal As Integer, _
ByVal As Integer _
) As Color
public Color PixelGetColor(
int ,
int ,
int
)
public function PixelGetColor(
: Integer;
: Integer;
: Integer
): Color;
public function PixelGetColor(
: int,
: int,
: int
) : Color;
public: Color PixelGetColor(
int ,
int ,
int
)
public:
Color PixelGetColor(
int ,
int ,
int
)
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