FreeHandWaveFlags property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT FreeHandWaveFlags

Delphi Syntax

FreeHandWaveFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the FreeHandWaveFlags in the FreeHandWave dialog box.

This property indicates how exposed areas will be handled and the type of data in the WaveLength property. You can use a bitwise OR (|) to specify one flag from each group. The following are the flags that indicate how to handle exposed areas:

Value

Meaning

FILL_CLR

[$0000] Fill exposed areas with the color in the FillColor property.

FILL_RPT

[$0001] Stretch the edges of the image to fill exposed areas.

FILL_NOCHG

[$0002] Do not change or process exposed areas.

The following are the flags that indicate the type of information in the WaveLength property:

Value

Meaning

DIS_PER

[$0000] The value in WaveLength property is a wavelength given as a percent of the bitmap dimensions. If this value is set, the valid range of values for the WaveLength property is from 0 to 100.

DIS_FRQ

[$0010] The value in the WaveLength property is the frequency, or the number of times the wave repeats.

See Also

Elements:

ShowFreeHandWaveDlg method, WaveLength property, FillColor property, Angle property, Scale property, Amplitudes property, AmplitudesCount property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events