< Previous | Contents | Next >
The Fill method will fill the image with the color specified by the Pixel object provided as its sole argument.
Fill() will also change the canvas color of an image. If you just want to fill the image (inside its DoD) and preserve the canvas color, you need to save it first using GetCanvasColor() and restore it afterwards using SetCanvasColor().