Function: getImageLegacy()
getImageLegacy(
element
):IImage
|undefined
Gets the IImage rendered by the given element. This is provided as a convenience for the legacy cornerstone getImage function. However it is encouraged for IStackViewport.getImage to be used instead.
Parameters
• element: HTMLDivElement
the element rendering/containing the image
Returns
IImage
| undefined
the image