TransparencyTolerance property (LEADDlgWeb Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT TransparencyTolerance

Delphi Syntax

TransparencyTolerance: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets tolerance value.

This property determines how close a pixel's RGB value should be to the specified transparent color to be considered transparent. A tolerance of 0 means only the transparent color specified in the TransparentColor property will be considered transparent. Specifying larger numbers will make more of the image transparent.

Valid values are from 0 to 255.

This property is associated with PNGWebTuner and GIFWebTuner dialog boxes:

See Also

Elements:

ShowPNGWebTunerDlg method, ShowGIFWebTunerDlg method.

Topics:

Imaging Common Dialogs: Properties, Methods, and Events