[]
        
(Showing Draft Content)

FarPoint.Web.Spread.TextCellType.PaintCell

PaintCell Method

PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets a control and renders it in the cell based on the specified appearance, margin, and value.

Declaration
public override Control PaintCell(string id, TableCell parent, Appearance style, Inset margin, object value, bool upperLevel)
Public Overrides Function PaintCell(id As String, parent As TableCell, style As Appearance, margin As Inset, value As Object, upperLevel As Boolean) As Control
Parameters
Type Name Description
string id

Unique identifier of the control

TableCell parent

Parent cell (TableCell object) for the control

Appearance style

Style settings (Appearance object) for the control

Inset margin

Margin settings (Inset object) for the control

object value

Value (as object) to put in the control

bool upperLevel

Whether the control can render in an up-level browser

Returns
Type Description
Control
Overrides
Implements

PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)

Gets a control and prints the cell to PDF based on the specified appearance and selection.

Declaration
public override void PaintCell(PdfGraphics g, RectangleF r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)
Public Overrides Sub PaintCell(g As PdfGraphics, r As RectangleF, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single)
Parameters
Type Name Description
PdfGraphics g

PDF graphics device

RectangleF r

Rectangle boundary of the cell to print

Appearance appearance

Appearance settings

object value

Value

bool isSelected

Whether the cell is active

bool isLocked

Whether the cell is marked as locked

float zoomFactor

Numeric value for zoom factor for scaling the display

Overrides