Skip to content
Chris Hafey edited this page May 6, 2014 · 1 revision

The displayImage api call is used display a new image in an enabled element. The image is immediately updated/redrawn.

function displayImage(element, image, viewport);

Parameters:

  • element - the DOM element to display the image to
  • image - the image object to display
  • viewport - the viewport properties to display the image with initially. This parameter is optional - default values will be applied if this is not specified

Returns: Nothing