Declaration
property Proc: TImageEnProc;
Description
Returns the
TImageEnProc component embedded in the TImageEnView, which provides functionality for editing and manipulating images of the selected image.
Note: Use
SelectedImage to specify the selected image
// Rotate the selected image 90° clockwise
ImageEnView1.Proc.Rotate(270);
// Reverse colors of all images in the TImageEnMView
ImageEnMView1.LockUpdate();
for i := 0 to ImageEnMView1.ImageCount - 1 do
begin
ImageEnMView1.SelectedImage := i;
ImageEnMView1.Proc.Negative();
end;
ImageEnMView1.SelectedImage := 0;
ImageEnMView1.UnlockUpdate();
// Paint frame number on each thumbnail
ImageEnMView1.LockUpdate();
for I := 0 to ImageEnMView1.ImageCount - 1 do
begin
ImageEnMView1.SelectedImage := I;
ImageEnMView1.Proc.TextOut(Align_text_near_top,
Align_text_near_left,
'#' + IntToStr( I + 1 ),
'Arial',
32,
clRed,
[fsBold]);
end;
ImageEnMView1.UnlockUpdate();