BendingFlags property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT BendingFlags

Delphi Syntax

BendingFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the BendingFlags in the Bending dialog box.

This property indicates how to handle peripherally exposed areas, how to handle centrally exposed areas and the type of bending.

You can use a bitwise OR (|) to specify one flag from each group.

The following are the flags that indicate how to handle peripherally 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 how to handle an exposed center:

Value

Meaning

FILL_ROT

[$0000] Rotate the image inside the arc pattern.

FILL_WOUTROT

[$0010] Fill the exposed center as you would any other exposed area. This is determined by setting the FILL_CLR, FILL_RPT or FILL_NOCHG flags.

This flag is ignored if the Value property is negative.

The following are the flags that indicate how the bitmap is bent:

Value

Meaning

BND_NORM

[$0000] Stretch the image along the vertical and horizontal planes.

BND_HORZ

[$0100] Stretch the image along the horizontal plane.

BND_VERT

[$0200] Stretch the image along the vertical plane.

See Also

Elements:

ShowBendingDlg method, Value property, CenterPoint property, FillColor property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events