New to Kendo UI for AngularStart a free 30-day trial

ImageExportOptions

Parameters for the exported image.

NameTypeDefaultDescription

cors?

string

anonymous

Specifies how cross-origin images have to be requested.

Requesting images without CORS will "taint" the canvas. It will still be visible on the page but to prevent information disclosure, the script access to it will be disabled. By default, they are anonymously requested.

The available options are:

  • "anonymous"—Does not send user credentials as part of the request.
  • "use-credentials"—Sends credentials as part of the request.
  • false—Fetches images without CORS, possibly tainting the canvas.

For more details, refer to the crossorigin attributes.

height?

number

The height of the exported image. Defaults to the scene height.

width?

number

The width of the exported image. Defaults to the scene width.

Not finding the help you need?
Contact Support