ImgGetBackgroundColor |
Top Previous Next |
Prototype
IntColor:=ImgGetBackgroundColor(intImageHandle)
Description
Returns the code corresponding to the background color for the image. The color is the lightest more used color.
Parameters
intImageHandle: integer value corresponding to the image handle.
Returned value
IntColor: integer value showing the background color of the image.
Notes
None.
Example
// Get the background color from the image Color:=ImgGetBackgroundColor(_CurrentImage); // Draw a line ImgDrawLine(_CurrentImage,0,0,100,100,Color);
|