ImageEn, unit iexUserInteractions

TIECropToolInteraction.Mode

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






Example

// Enable perspective correction tool
ImageEnView1.CropTool.Mode := iectmPERSPECTIVE;
ImageEnView1.Invalidate();