HolesRemovalRgn method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int HolesRemovalRgn(void);

Delphi Syntax

Function HolesRemovalRgn ( ): L_INT;

Overview

Refer to Creating and Using a Bitmap Region

Remarks

(Document/Medical only) Removes all the holes in a region.

This method is designed to work on bitmaps that have a region. It removes the holes from the bitmap’s region. If this method is used with a bitmap that does not have a region, the "Invalid Parameter" error is returned.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method supports signed data images.

See Also

Elements:

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

Topics:

Raster Images: Creating and Using a Region