Spread for ASP.NET 12 Product Documentation
PaintCell(PdfGraphics,RectangleF,Appearance,Object,Boolean,Boolean,Single) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ButtonCellType Class > PaintCell Method : PaintCell(PdfGraphics,RectangleF,Appearance,Object,Boolean,Boolean,Single) Method
PDF graphics device
Rectangle boundary of the cell to print
Appearance settings
Value
Whether the cell is active
Whether the cell is marked as locked
Numeric value for zoom factor for scaling the display
Gets a control and prints the cell to PDF based on the specified appearance and selection.
Syntax
'Declaration
 
Public Overloads Overrides Sub PaintCell( _
   ByVal g As PdfGraphics, _
   ByVal r As RectangleF, _
   ByVal appearance As Appearance, _
   ByVal value As Object, _
   ByVal isSelected As Boolean, _
   ByVal isLocked As Boolean, _
   ByVal zoomFactor 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 g,
   RectangleF r,
   Appearance appearance,
   object value,
   bool isSelected,
   bool isLocked,
   float zoomFactor
)

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

Reference

ButtonCellType Class
ButtonCellType Members
Overload List