ExportImage
methodsExports the diagram content as an image. The result can be saved using kendo.saveAs.
The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.
The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
Parameters:options.widthString
options.heightString
Returns:Promise
Parameters for the exported image.
The width of the exported image. Defaults to the diagram content width.
A promise that will be resolved with a PNG image encoded as a Data URI.