ClassChartModelToImageConverter
Class responsible for creating a chart image used while dragging , resizing.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Layers
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class ChartModelToImageConverter : IChartModelToImageConverter
Inheritance: objectChartModelToImageConverter
Implements:
Constructors
ChartModelToImageConverter()
Declaration
public ChartModelToImageConverter()
Methods
GetBitmapSourceFromFloatingChartShape(FloatingChartShape)
Creates an image from the given FloatingChartShape.
Declaration
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape)
Parameters
floatingChartShape
FloatingChartShape
The FloatingChartShape.
Returns
BitmapSource
GetBitmapSourceFromFloatingChartShape(FloatingChartShape, Size)
Creates an image from the given FloatingChartShape.
Declaration
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, Size scale)
Parameters
floatingChartShape
FloatingChartShape
The FloatingChartShape.
scale
Size
Scale factor.
Returns
BitmapSource
GetBitmapSourceFromFloatingChartShape(FloatingChartShape, double, double)
Creates an image from the given FloatingChartShape.
Declaration
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV)
Parameters
floatingChartShape
FloatingChartShape
The FloatingChartShape.
dpiH
Horizontal dpi.
dpiV
Vertical dpi.
Returns
BitmapSource
GetBitmapSourceFromFloatingChartShape(FloatingChartShape, double, double, Size)
Creates an image from the given FloatingChartShape.
Declaration
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV, Size scale)
Parameters
floatingChartShape
FloatingChartShape
The FloatingChartShape.
dpiH
Horizontal dpi.
dpiV
Vertical dpi.
scale
Size
Scale factor.
Returns
BitmapSource