ImageEn, unit imageenview

TImageEnView.SetNavigator

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


Demo

Demo  Demos\Display\Navigator\Navigator.dpr


Example

ImageEnView2.SelColor1 := clRed;
ImageEnView1.SetNavigator(ImageEnView2, [ienoMouseWheelZoom, ienoMarkOuter]);
ImageEnView1.IO.LoadFromFile('input.jpg');