www.JosXP.com, Joomla Professionals

Panorama Viewer: 


Category:
Graphic

Very powerful Panorama viewer UserControl for wide and big size images even are separated.

Methods:
StartPanorama(): Initialize the panorama to push your images.
EndPanorama(): Finalize the panorama (ready to view)
PushImage(Path As String, Optional BookMark As String, Optional FirstPanorama As Boolean): Push an image to the panorama
  Path: Image Path
  BookMark: Unique bookmark for each image.
  FirstPanorama: Determine if the current image displayed when the panorama starts.

GoToBookmark(BookMark As String): Moves the panorama to the image with the Bookmark.

Example:

Private Sub Form_Load()
   vbkPanorama1.StartPanorama
    vbkPanorama1.PushImage App.Path & "\Images\1.jpg", "B1"
    vbkPanorama1.PushImage App.Path & "\Images\2.jpg", "B2", True
    vbkPanorama1.PushImage App.Path & "\Images\3.jpg"
   vbkPanorama1.EndPanorama
End Sub

Moves the Panorama to the Image "1.jpg" Bookmark "B1"

vbkPanorama1.GoToBookmark "B1"




Trick Never Seen Before!