There was an error while loading. Please reload this page.
The getViewport api call is used to access the viewport properties for an enabled image.
function getViewport(element);
Parameters:
Returns: A viewport object