TIEEditControls.AttachedOriginalImageEnView
Declaration
property AttachedOriginalImageEnView: TImageEnView;
Description
Specify the
TImageEnView containing the image that TIEEditControls will modify.
If you do not specify an
AttachedOriginalImageEnView, then the control will function in a configuration only mode and you will need to call
ApplyTo to apply the effect to a bitmap.
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 ImageEnViews)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
◼AttachedPreviewImageEnView◼Apply