Class ChartToImageConverter
Excel Chart To Image Converter.
Inheritance
System.Object
ChartToImageConverter
Implements
Namespace: Syncfusion.OfficeChartToImageConverter
Assembly: Syncfusion.OfficeChartToImageConverter.UWP.dll
Syntax
public class ChartToImageConverter : Object, IOfficeChartToImageConverter
Constructors
ChartToImageConverter()
Declaration
public ChartToImageConverter()
Properties
ScalingMode
It's represent the chart image Scaling
Declaration
public ScalingMode ScalingMode { get; set; }
Property Value
Type |
---|
ScalingMode |
Methods
GetChart(IOfficeChart)
Excel chart to sf Chart conversion.
Declaration
public SfChart GetChart(IOfficeChart excelChart)
Parameters
Type | Name | Description |
---|---|---|
IOfficeChart | excelChart | Excel chart |
Returns
Type | Description |
---|---|
SfChart | SfChart |
GetChart3D(IOfficeChart)
Converts an Excel Chart instance into Syncfusion 3D Chart instance.
Declaration
public SfChart3D GetChart3D(IOfficeChart excelChart)
Parameters
Type | Name | Description |
---|---|---|
IOfficeChart | excelChart | Excel chart |
Returns
Type | Description |
---|---|
SfChart3D | SfChart3D |
SaveAsImageAsync(IOfficeChart, UIElement)
Declaration
public Task<bool> SaveAsImageAsync(IOfficeChart chart, UIElement canvas)
Parameters
Type | Name | Description |
---|---|---|
IOfficeChart | chart | |
Windows.UI.Xaml.UIElement | canvas |
Returns
Type |
---|
System.Threading.Tasks.Task<System.Boolean> |