Defines the fluent API for configuring the ChartWizardExportOptionsImageSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartWizardExportOptionsImageSettingsBuilder<T> where T : class
Inheritance: objectChartWizardExportOptionsImageSettingsBuilder<T>
Inherited Members
Constructors
Initialize the ChartWizardExportOptionsImageSettingsBuilder
public ChartWizardExportOptionsImageSettingsBuilder(ChartWizardExportOptionsImageSettings settings)
Methods
Specifies how cross-origin images should be requested.Requesting images without CORS will "taint" the canvas. It will still be visible on the page, but all script access to it is disabled to prevent information disclosure.Can be set to: "anonymous" - do not send user credentials as part of the request; "use-credentials" - send credentials as part of the request or false - fetch images without CORS, possibly tainting the canvas.
public ChartWizardExportOptionsImageSettingsBuilder<T> Cors(string value)
The value that configures the cors.
Returns:The width of the exported image. Defaults to the scene width.
public ChartWizardExportOptionsImageSettingsBuilder<T> Height(double value)
The value that configures the height.
Returns:The width of the exported image. Defaults to the scene width.
public ChartWizardExportOptionsImageSettingsBuilder<T> Width(double value)
The value that configures the width.
Returns: