Kendo UI image TagHelper ChartWizardExportOptionsImageSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("image", ParentTag = "export-options", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartWizardExportOptionsImageSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartWizardExportOptionsImageSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chartwizard name="chartwizard">
<export-options>
<image cors="anonymous" />
</export-options>
</kendo-chartwizard>
Constructors
Initializes a new instance of the ChartWizardExportOptionsImageSettingsTagHelper class.
public ChartWizardExportOptionsImageSettingsTagHelper()
Properties
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 string Cors { get; set; }
The width of the exported image. Defaults to the scene width.
public double? Height { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.