ImageEn, unit iexProcUI

TIEEditControls.AttachedPreviewImageEnView

TIEEditControls.AttachedPreviewImageEnView


Declaration

property AttachedPreviewImageEnView: TImageEnView;


Description

Specify the TImageEnView which TIEEditControls will show properties for.
If you do not specify an AttachedPreviewImageEnView, then changes to the control will show in the AttachedOriginalImageEnView.




Modes of TIEEditControls

TIEEditControls can operate in three modes:

1. Direct Editing of an Image (Single ImageEnView)
In this mode, any editing changes you make will be applied directly to your image.

// Set up
IEEditControls1.AttachedOriginalImageEnView := ImageEnView1;
IEEditControls1.AttachedPreviewImageEnView  := nil;

// Apply changes (even though they are previewed on the image, call Apply to lock them in)
IEEditControls1.Apply();

// Or
// Reset our preview
IEEditControls1.Reset();


2. Editing of an Image with Preview (Two ImageEnView)
In this mode, any editing changes are shown in a separate Preview ImageEnView and you must call Apply to apply the effect to the original image.

// Set up
IEEditControls1.AttachedOriginalImageEnView := ImageEnViewOriginal;
IEEditControls1.AttachedPreviewImageEnView  := ImageEnViewPreview;

// Apply changes to the original image (in ImageEnViewOriginal)
IEEditControls1.Apply();


3. Editing Controls only without Preview (No ImageEnViews)
In this mode, the component is only used for setting editing effects. They are not shown in an ImageEnView. Use ApplyTo to apply the effect to a bitmap.
Note: In this configuration some tabs do not display fully, such as FFT and Equalization

// Set up
IEEditControls1.AttachedOriginalImageEnView := nil;
IEEditControls1.AttachedPreviewImageEnView  := nil;

// Apply effect to a bitmap
IEEditControls1.ApplyTo( ImageEnView1.IEBitmap );


See Also

 AttachedOriginalImageEnView
 UpdatePreview