New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class ChartModelToImageConverter : IChartModelToImageConverter

Inheritance: objectChartModelToImageConverter

Implements: IChartModelToImageConverter

Constructors

C#
public ChartModelToImageConverter()

Methods

Creates an image from the given FloatingChartShape.

C#
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV, Size scale)
Parameters:floatingChartShapeFloatingChartShape

The FloatingChartShape.

dpiHdouble

Horizontal dpi.

dpiVdouble

Vertical dpi.

scaleSize

Scale factor.

Returns:

BitmapSource

Creates an image from the given FloatingChartShape.

C#
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV)
Parameters:floatingChartShapeFloatingChartShape

The FloatingChartShape.

dpiHdouble

Horizontal dpi.

dpiVdouble

Vertical dpi.

Returns:

BitmapSource

Creates an image from the given FloatingChartShape.

C#
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, Size scale)
Parameters:floatingChartShapeFloatingChartShape

The FloatingChartShape.

scaleSize

Scale factor.

Returns:

BitmapSource

Creates an image from the given FloatingChartShape.

C#
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape)
Parameters:floatingChartShapeFloatingChartShape

The FloatingChartShape.

Returns:

BitmapSource