[]
Gets a control and renders it in the cell based on the specified appearance, margin, and value.
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
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 |
Type | Description |
---|---|
Control |
Gets a control and prints the cell to PDF based on the specified appearance and selection.
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)
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 |