Documentation Center

  • Trial Software
  • Product Updates

iptgetapi

Get Application Programmer Interface (API) for handle

Syntax

API = iptgetapi(h)

Description

API = iptgetapi(h) returns the API structure associated with handle h if there is one. Otherwise, iptgetapi returns an empty array.

For more information about handle APIs, see the help for immagbox, imrect, or imscrollpanel.

Examples

hFig = figure('Toolbar','none',...
              'Menubar','none');
hIm = imshow('tape.png');
hSP = imscrollpanel(hFig,hIm);
api = iptgetapi(hSP);
api.setMagnification(2) % 2X = 200%

See Also

| |

Was this topic helpful?