This property sets the type of area that will be processed on the image
[C++Builder] imagekitcontrolname->Effect->SelectMode
[= TVIkAreaSelectMode]
[Delphi] imagekitcontrolname.Effect.SelectMode
[= TVIkAreaSelectMode]
[TVIkAreaSelectMode Type]
Unit
IkInit
type
TVIkAreaSelectMode = (vikEffectMask,
vikEffectAll, vikEffectPolygon, vikEffectEllipse);
Property Value
Value | Explanation |
---|---|
vikEffectMask | A mask handle is used to determine the area to be processed. (The value set in the MaskFileName property and MaskImageHandle property are enabled) |
vikEffectAll | The total image is processed. ( The value set in the ImageHandle property is enabled.) |
vikEffectPolygon | A polygonal area, selected on the image, is processed. (The x and y coordinate values of the points defining the polygon are passed to the Effect method through its x and y parameters.) |
vikEffectEllipse | An elliptical shape, selected on the image, is processed. (The values set in the RectLeft, RectTop, RectRight, and RectBottom properties are enabled.) |
Explanation
In the ImageKit, there are several ways in which an area on an image can be processed. The SelectMode property sets the type of area that will be processed on the image
Setting this value
This value can be set during execution.
Retrieving this value
This value is retrieved during execution.
Differences from ImageKit7/8/9 ActiveX
The VCL constants have a "v". In ActiveX, the constants are ikEffectMask, ikEffectAll, ikEffectPolygon, ikEffectEllipse