ShowMagnifier Example VB

This example scrolls the image to a specified location, sets the Magnifier zoom factor, and then displays the Magnifier window.

Private Sub cmdMagnifier_Click()
    'Scroll the image to a specific horizontal/vertical pixel
    'location.
    ImgEdit1.ScrollPositionX = 800
    ImgEdit1.ScrollPositionY = 1000
    'Magnifier window will zoom underlying image data to 4 times
    'its size.
    ImgEdit1.MagnifierZoom = wi4XMagnifier  '1
    ImgEdit1.ShowMagnifier True
End Sub