ClearRemoveGarbageRegions Method of the ImageModification Object

This method clears the internal array of "remove garbage" regions. By default, the internal array of these regions is empty, and this method may be called to remove all the "remove garbage" regions that were added previously. To add a new region to this internal array call the IImageModification::AddRemoveGarbageRegion method.

Syntax

HRESULT ClearRemoveGarbageRegions();
    
    

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

The parts of the image inside the "remove garbage" regions will be cleaned up when IImageDocument::Modify method is applied.

See also

ImageModification

AddRemoveGarbageRegion

27.04.2022 8:30:37

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.