ClearPaintRegions Method of the ImageModification Object
This method clears the internal array of paint regions. By default, the internal array of paint regions is empty, and this method may be called to remove all the paint regions that were added previously. To add a new region to this internal array call the IImageModification::AddPaintRegion method.