immagbox
Magnification box for image displayed in scroll panel
Description
Use theimmagbox
function to add a magnification box to the same figure as an image contained in a scroll panel. A magnification box is an editable text box that contains the current magnification of the target image. When you enter a new value in the magnification box, the magnification of the target image changes. When the magnification of the target image changes for any reason, the magnification box updates the magnification value.
creates a magnification box for an image displayed in a scroll panel.hbox
= immagbox(hparent
,himage
)himage
is a handle to the target image in the scroll panel.hparent
is a handle to the figure or uipanel object that will contain the magnification box. The function returnshbox
, a handle to the magnification box.