ImageEn, unit iexProcUI

TIEEditControls.Apply

TIEEditControls.Apply


Declaration

procedure Apply();


Description

Apply the current effect to the image.
If there is no attached image, Apply will only update ProcessingParams with the current configuration.

Typically this is used for the click effect of a "Apply" button.

Note: If you have not specified Preview ImageEnView, it will display the active effect, however it is not "applied" to the image until you click Apply

There are three Apply methods:
Apply: Apply the specified effect to the current image
ApplyEx: Apply() with extra parameters (seldom used)
ApplyTo: Apply the specified effect to another bitmap


Examples

// Code for the "Apply" button (applies the effect to the attached image)
IEEditControls1.Apply();

// Add the displayed configuration to an effects chain
IEEditControls1.Apply();
ImageEnView1.IEBitmap.EffectsChain.Add( IEEditControls1.ProcessingParams );
ImageEnView1.Update();


See Also

Reset