Creates a new instance of ImageViewerRenderEventArgs from the specified HTML5 Canvas Element.
createForControl = function(control)
static createForControl(control: HTMLCanvasElement): ImageViewerRenderEventArgs;
control
Valid HTML5 Canvas Element.
The created object.
Use this method to create an instance of ImageViewerRenderEventArgs from a canvas
. Internally, this method will
use getContext("2d")
and uses the returned value to initialize the other members of the class.
You must call DestroyForControl when you are finished with the object.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET