[Visual
Basic] imagekitcontrolname.Effect.SelectMode
[= AreaSelectModeConstants]
[Visual
C++] [long =
]imagekitcontrolname.GetEffect().GetSelectMode()
imagekitcontrolname.GetEffect().SetSelectMode(long Val)
imagekitcontrolname.GetEffect().SetSelectMode(long Val)
[VB.NET] imagekitcontrolname.Effect.SelectMode
[= ImageKit9(A)Lib.AreaSelectModeConstants]
[C#.NET] imagekitcontrolname.Effect.SelectMode
[= ImageKit9(A)Lib.AreaSelectModeConstants]
* ImageKit9ALib refers to the ANSI version, ImageKit9Lib refers to the Unicode version.
Property Value
Value | Explanation |
---|---|
0 | A mask handle is used to determine the area to be processed. (The value set in the MaskFileName property and MaskImageHandle property are enabled) |
1 | The total image is processed. ( The value set in the ImageHandle property is enabled.) |
2 | 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.) |
3 | An elliptical shape, selected on the image, is processed. (The values set in the RectLeft, RectTop, RectRight, and RectBottom properties are enabled.) |
The following constants can also be used: (ikEffectMask = 0, ikEffectAll = 1, ikEffectPolygon = 2, ikEffectEllipse = 3) |
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.