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
◼If
DisplayMode is mdSingle, the
visible frame is modified
// 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();
Compatibility Information
In versions prior to v13.7.0,
Proc would modify the
selected image even if
DisplayMode was mdSingle. From 13.7.0, the
visible frame is modified when
DisplayMode is mdSingle