Skip to Main Content Skip to Search
Product Documentation

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, impositionrect, 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

immagbox | imrect | imscrollpanel

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS