Class
ChartModelToImageConverter

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:

cs-api-definition
public class ChartModelToImageConverter : IChartModelToImageConverter

Inheritance: objectChartModelToImageConverter

Implements: IChartModelToImageConverter

Constructors

ChartModelToImageConverter()

Declaration

cs-api-definition
public ChartModelToImageConverter()

Methods

GetBitmapSourceFromFloatingChartShape(FloatingChartShape)

Creates an image from the given FloatingChartShape.

Declaration

cs-api-definition
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape)

Parameters

floatingChartShape

FloatingChartShape

The FloatingChartShape.

Returns

BitmapSource

GetBitmapSourceFromFloatingChartShape(FloatingChartShape, Size)

Creates an image from the given FloatingChartShape.

Declaration

cs-api-definition
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

cs-api-definition
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV)

Parameters

floatingChartShape

FloatingChartShape

The FloatingChartShape.

dpiH

double

Horizontal dpi.

dpiV

double

Vertical dpi.

Returns

BitmapSource

GetBitmapSourceFromFloatingChartShape(FloatingChartShape, double, double, Size)

Creates an image from the given FloatingChartShape.

Declaration

cs-api-definition
public BitmapSource GetBitmapSourceFromFloatingChartShape(FloatingChartShape floatingChartShape, double dpiH, double dpiV, Size scale)

Parameters

floatingChartShape

FloatingChartShape

The FloatingChartShape.

dpiH

double

Horizontal dpi.

dpiV

double

Vertical dpi.

scale

Size

Scale factor.

Returns

BitmapSource