ImageGear Professional for Windows ActiveX
FloodFill Method

Description:

Fills an area with a color, starting at the specified point. There are two ways to specify the area:

Syntax:

Sub FloodFill(XPos As Long, YPos As Long, FillColor As IGPixel,
BorderColor As IGPixel)

Parameters:

Name Description
XPos X coordinate of a point inside the area to be filled.
YPos Y coordinate of a point inside the area to be filled.
FillColor Fill color as IGPixel Object.
BorderColor Color of the border surrounding the area as IGPixel Object, or NULL (vbNothing) to fill the area defined by the color of the start point.

Return Value:

N/A

Bits Per Pixel:

All

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback