getCanvasElement

Returns the canvas element

Returns HTMLElement

Example

<button id="getCanvas" class='k-button'>Get Canvas</button>
<div id="imageEditor"></div>
<script>
  $("#imageEditor").kendoImageEditor({
    imageUrl: "https://demos.telerik.com/kendo-ui/content/shared/images/photos/2.jpg"
  });
  var imageEditor = $("#imageEditor").data("kendoImageEditor");
  $("#getCanvas").click(function(){
    var canvas = imageEditor.getCanvasElement()
    console.log(canvas);
  })
</script>
In this article