[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Visualization.FunctionVisualizer.PaintCell

PaintCell Method

PaintCell(Graphics, Rectangle, object, ref StyleFormat, IWorksheet)

Paints the cell.

Declaration
protected virtual void PaintCell(Graphics graphics, Rectangle rect, object cellValue, ref StyleFormat styleFormat, IWorksheet worksheet)
Protected Overridable Sub PaintCell(graphics As Graphics, rect As Rectangle, cellValue As Object, ByRef styleFormat As StyleFormat, worksheet As IWorksheet)
Parameters
Type Name Description
Graphics graphics

Graphics device interface for painting the cell.

Rectangle rect

The cell boundary to paint.

object cellValue

The cell value.

StyleFormat styleFormat

The cell style format.

IWorksheet worksheet

The painting worksheet.

PaintCell(IPaintingContext, Rectangle, object, ref StyleFormat)

Paints the cell.

Declaration
protected virtual void PaintCell(IPaintingContext context, Rectangle rect, object cellValue, ref StyleFormat styleFormat)
Protected Overridable Sub PaintCell(context As IPaintingContext, rect As Rectangle, cellValue As Object, ByRef styleFormat As StyleFormat)
Parameters
Type Name Description
IPaintingContext context

The painting context that contains painting data.

Rectangle rect

The cell boundary to paint.

object cellValue

The cell value.

StyleFormat styleFormat

The cell style format.