ImageEn, unit iexProcUI

TIEEditControls.ProcessingParams

TIEEditControls.ProcessingParams


Declaration

property ProcessingParams: TIEImageEffect;


Description

Provides access to the active configuration of component.
Set ProcessingParams to change the displayed configuration.
Read ProcessingParams to determine the configuration that the user has specified (ensure you call Apply to get the current configuration).

Note:
If you set ProcessingParams, you must call ProcessingParams(iecuReadSettings); to update the display
You can load and save processing params, as well as applying them to other images or adding them to an EffectsChain
ProcessingParams are only set when Apply is called


Examples

// Set editing controls to Rotation of 45 deg.
IEEditControls1.ProcessingParams.Operation := peRotate;
IEEditControls1.ProcessingParams.Rotate_Angle := 45;
IEEditControls1.Update( iecuReadSettings );

// Display the rotation that was used
if IEEditControls1.ProcessingParams.Operation = peRotate then
  ShowMessage( 'Image was rotated ' + IEEditControls1.ProcessingParams.Rotate_Angle.ToString + ' deg.' )
else
  ShowMessage( 'Image was not rotated' );

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

// Edit an Effects Chain item
effect := ImageEnView1.IEBitmap.EffectsChain[ 3 ];
IEEditControls1.ProcessingParams.Assign( effect );
IEEditControls1.Update( iecuReadSettings );


See Also

OperationsLog