ImageEn, unit iexUserInteractions |
|
TIECropToolInteraction.Mode
Declaration
property Mode: TIECropToolInteractionMode;
Description
Specifies the shape of cropping area.
Value | Description |
iectmRectangle | The cropping area is rectangular (for standard cropping) |
iectmPerspective | All corners of the cropping area can be adjusted as a quadrilateral to allow perspective distortion, i.e. the selected quadrilateral will be scaled to a rectangle when cropping is enacted |
Note: You must call
TImageEnView.Invalidate if you change this property when the crop selection is visible
Default: iectmRectangle
// Enable perspective correction tool
ImageEnView1.MouseInteractGeneral := [miCropTool];
ImageEnView1.CropTool.Mode := iectmRectangle;
ImageEnView1.Invalidate();