ImageEn, unit iemview

TImageEnMView.CenterSelected

TImageEnMView.CenterSelected


Declaration

procedure CenterSelected();


Description

   Scrolls the view (by calling SetViewXY) to display the currently selected image at a central position in the view.

Note: This method uses SelectedImage to determine the selection, whereas CenterFrame uses VisibleFrame.


Example

ImageEnMView1.SelectedImage := 10;
ImageEnMView1.CenterSelected;