ImageEn, unit imageenview

TImageEnView.LayersRotationUseFilterOnPreview

TImageEnView.LayersRotationUseFilterOnPreview


Declaration


property LayersRotationUseFilterOnPreview: Boolean;


Description


Displays the user's rotation with the selected anti-alias effect immediately (i.e. before calling LayersFixRotations).

Note: Preview of large rotated images at high quality can be slow, so it is recommended that you also use LayersFastDrawing.

Default: False


Example


// Rotate the current layer 45 degrees clockwise at highest quality
ImageEnView1.CurrentLayer.Rotate := -45;
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := true;
ImageEnView1.LayersFastDrawing := iefDelayed;

// Allow the user to free rotate layers at highest quality
ImageEnView1.MouseInteract := [miRotateLayers];
ImageEnView1.LayersRotationAntialias := True;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := true;
ImageEnView1.LayersFastDrawing := iefDelayed;


See Also


- LayersRotationFilter
- LayersRotationAntialias
- LayersFastDrawing