Image Processing Toolbox User's Guide |
Get application programmer interface (API) for handle
Syntax
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
.
Example
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
, impositionrect
, imscrollpanel
iptdemos | iptgetpref |
© 1994-2005 The MathWorks, Inc.