ImageEn, unit iexColorCurve |
|
TIEColorCurve.Clear
Declaration
procedure Clear();
Description
Removes the content from the control.
IEColorCurve1.Clear();
// Checkbox code to enable or disable the Color Curve
procedure TfrmCurves.chkEnableColorCurveClick(Sender: TObject);
begin
if chkEnableColorCurve.Checked then
begin
IEColorCurve1.AssignSource(imgPreview.IEBitmap);
IEColorCurve1.Enabled := True;
end
else
begin
IEColorCurve1.Clear();
IEColorCurve1.ResetAllCurves();
IEColorCurve1.Enabled := False;
end;
end;