WaveFlags property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT WaveFlags

Delphi Syntax

WaveFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the WaveFlags in the Wave dialog box.

This property indicates how to handle exposed areas and what type of information is 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 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 for the WaveLength property is from 0 to 100.

DIS_FRQ

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

See Also

Elements:

ShowWaveDlg method, Amplitude property, WaveLength property, Angle property, HorzScale property, VertScale property, FillColor property, WaveFlags property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events