Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / IUniversalCellType Interface / PaintBackground Method
The context for painting the cell.
Location and size of a rectangular region.
A System.Drawing.Drawing2D.GraphicsPath object that specifies filling area.
Object that contains the name of the renderer control of the cell
The appearance setting of cell.


In This Topic
    PaintBackground Method (IUniversalCellType)
    In This Topic
    Paints the background of cell.
    Syntax
    'Declaration
     
    
    Sub PaintBackground( _
       ByVal paintingContext As IPaintingContext, _
       ByVal r As Rectangle, _
       ByVal path As GraphicsPath, _
       ByVal value As Object, _
       ByRef cfResult As CfExecutedResult _
    ) 
    'Usage
     
    
    Dim instance As IUniversalCellType
    Dim paintingContext As IPaintingContext
    Dim r As Rectangle
    Dim path As GraphicsPath
    Dim value As Object
    Dim cfResult As CfExecutedResult
     
    instance.PaintBackground(paintingContext, r, path, value, cfResult)

    Parameters

    paintingContext
    The context for painting the cell.
    r
    Location and size of a rectangular region.
    path
    A System.Drawing.Drawing2D.GraphicsPath object that specifies filling area.
    value
    Object that contains the name of the renderer control of the cell
    cfResult
    The appearance setting of cell.
    See Also