hDocCleanRgn property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

HRGN hDocCleanRgn;

Delphi Syntax

hDocCleanRgn : HRGN;

Overview

Refer to Cleaning Up 1-Bit Images

Remarks

(Document/Medical)Window HRGN that is updated with a Windows region that contains all the elements removed by one of the document cleaning methods listed below. This property is updated when the document cleaning method returns. It is updated only if the XXX_SINGLE_REGION flag is set in the uFlags parameter of one of the following methods:

BorderRemove method

DotRemove method

HolePunchRemove method

InvertedText method

LineRemove method

Smooth method

Set this property to 0 at any time to free the resources associated with it.

See Also

Elements:

BorderRemove method, DotRemove method, HolePunchRemove method, InvertedText method, LineRemove method, Smooth method

Topics:

Raster Images: Cleaning - up 1-Bit Images