Chinese Simplified (简体中文)

ClearReplaceBlackPixelsRegions Method of the ImageModification Object

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

Syntax

HRESULT ClearReplaceBlackPixelsRegions();
    
    

Return values

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

Remarks

Black pixels on the image inside the "replace black pixels" regions will be replaced with the pixels of the specified color when IImageDocument::Modify method is applied. This operation is performed on the black-and-white image plane but results will be applied to the gray and color image planes too.

See also

ImageModification

AddReplaceBlackPixelsRegion

03.07.2024 8:50:10

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.