Gets a control and prints the cell to PDF based on the specified appearance and selection.
Syntax
'Declaration
Public Overloads Overrides Sub PaintCell( _
ByVal As PdfGraphics, _
ByVal As RectangleF, _
ByVal As Appearance, _
ByVal As Object, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Single _
)
'Usage
Dim instance As ButtonCellType
Dim g As PdfGraphics
Dim r As RectangleF
Dim appearance As Appearance
Dim value As Object
Dim isSelected As Boolean
Dim isLocked As Boolean
Dim zoomFactor As Single
instance.PaintCell(g, r, appearance, value, isSelected, isLocked, zoomFactor)
public override void PaintCell(
PdfGraphics ,
RectangleF ,
Appearance ,
object ,
bool ,
bool ,
float
)
Parameters
- g
- PDF graphics device
- r
- Rectangle boundary of the cell to print
- appearance
- Appearance settings
- value
- Value
- isSelected
- Whether the cell is active
- isLocked
- Whether the cell is marked as locked
- zoomFactor
- Numeric value for zoom factor for scaling the display
See Also