Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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.

To view functions that use this type of API, see immagbox, imdistline, 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%

Introduced before R2006a

Was this topic helpful?