New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the ChartWizardExportOptionsImageSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartWizardExportOptionsImageSettingsBuilder<T> where T : class

Inheritance: objectChartWizardExportOptionsImageSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialize the ChartWizardExportOptionsImageSettingsBuilder

C#
public ChartWizardExportOptionsImageSettingsBuilder(ChartWizardExportOptionsImageSettings settings)
Parameters:settingsChartWizardExportOptionsImageSettings

The ChartWizardExportOptionsImageSettings

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.

C#
public ChartWizardExportOptionsImageSettingsBuilder<T> Cors(string value)
Parameters:valuestring

The value that configures the cors.

Returns:

ChartWizardExportOptionsImageSettingsBuilder<T>

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

C#
public ChartWizardExportOptionsImageSettingsBuilder<T> Height(double value)
Parameters:valuedouble

The value that configures the height.

Returns:

ChartWizardExportOptionsImageSettingsBuilder<T>

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

C#
public ChartWizardExportOptionsImageSettingsBuilder<T> Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

ChartWizardExportOptionsImageSettingsBuilder<T>