PunchFlags property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT PunchFlags

Delphi Syntax

PunchFlags: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the punch flags in the Punch dialog box.

This property determines how to handle exposed areas, both centrally and peripherally.

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 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 centrally exposed areas:

Value

Meaning

FILL_ROT

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

FILL_WOUTROT

[$0010] Fill the exposed center the same way the peripherally exposed areas are filled.

This property is ignored if the Value property is positive.

See Also

Elements:

ShowPunchDlg method, CenterPoint property, FillColor property, Stress property, Value property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events