ImageEn, unit imageenview |
|
TImageEnView.SetNavigator
Declaration
procedure SetNavigator(nav: TImageEnView; options: TIENavigatorOptions);
Description
SetNavigator specifies a TImageEnView component which works as navigator of current image. A navigator shows a selection that controls the zoom and scroll of the main control.
Use
options to fine-tune navigator behavior.
Note: Specify the navigator selection color using
SelColor1
| Demos\Display\Navigator\Navigator.dpr |
ImageEnView2.SelColor1 := clRed;
ImageEnView1.SetNavigator(ImageEnView2, [ienoMouseWheelZoom, ienoMarkOuter]);
ImageEnView1.IO.LoadFromFile('input.jpg');