BinaryFilterType property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT BinaryFilterType

Delphi Syntax

BinaryFilterType: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the binary filter type used with the Binary Filter dialog boxes.

If a user selects a binary filter from one of the binary filter dialog boxes, the BinaryFilterType property is set to a value that corresponds to the filter chosen.

The Binary filter dialog boxes are:

ErosionFilter dialog box:

Erosion filters shrink black objects in the image. The effect is biased in the specified direction. Possible values are:

 

BFLT_EROSION_OMNI

 

BFLT_EROSION_HORZ

 

BFLT_EROSION_VERT

 

BFLT_EROSION_DIAG

DilationFilter dialog box:

Dilation filters enlarge black objects in the image. The effect is biased in the specified direction. Possible values are:

 

BFLT_DILATION_OMNI

 

BFLT_DILATION_HORZ

 

BFLT_DILATION_VERT

 

BFLT_DILATION_DIAG

See Also

Elements:

BinaryFilter method, ShowErosionFilterDlg method, ShowDilationFilterDlg method

Topics:

Imaging Common Dialogs: Properties, Methods, and Events