CenterX property (ILEADRasterDlgImgEfx)

Visual Basic example

Visual C++ example

 

Syntax

long CenterX

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the X coordinate of the center point.

The CenterX property is associated with the following dialog boxes:

RadialBlur dialog box:

In this case it represents the X coordinate of the point about which the image is blurred.

ZoomBlur dialog box:

In this case it represents the X coordinate of the point about which the image is blurred and zoomed.

ZoomWave dialog box:

In this case it represents the X coordinate of the center point from which the wave is zoomed.

RadialWave dialog box:

In this case it represents the X coordinate of the point from which the wave radiates.

SwirlWave dialog box:

In this case it represents the X coordinate of the center of the swirl.

Ripple dialog box:

In this case it represents the X coordinate of the center of the Ripple wave.

Bending dialog box:

In this case it represents the X coordinate of the center of the arc. This is ignored when either BND_HORZ or BND_VERT is set in the ImageEffectFlags property.

Spherize dialog box:

In this case it represents the X coordinate of the center of the sphere.

Pixelate dialog box:

In this case it represents the X coordinate of the center of revolution when circular cells are used. This property will be ignored if PIX_RECT is set in the ImageEffectFlags property.

Punch dialog box

In this case it represents the point around which the image will be pinched or punched. The center point must be defined inside the bitmap or inside the region, if the bitmap has a region.

The point specified by (CenterX, CenterY) should be within the image rectangle coordinates. However, if there is a region in the bitmap, then the point should be within the region.

See Also

Elements

ShowRadialBlurDlg, ShowZoomBlurDlg, ShowRadialWaveDlg, ShowSwirlDlg, ShowRippleDlg, ShowBendingDlg, ShowSpherizeDlg, ShowPixelateDlg, ShowPunchDlg, ShowZoomWaveDlg, CenterY, Dimension, Stress, Angle, Amplitude, WaveLength, Phase, FillColor, Frequency, ZoomFactor, ImageEffectFlags, Value, Attenuation, CellWidth, CellHeight, Opacity