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.


Demos

Demo  Demos\Display\Navigator\Navigator.dpr
Demo  Demos\Display\Navigator2\Navigator.dpr


Example

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