Available in the LEADTOOLS Imaging toolkit.
ZoomIn example for Visual J++
This example calls ZoomIn() method to zoom in on a captured image.
LEAD1.ZoomIn();