Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSObject Class / FillBackgroundWithGradient Method
Graphics device
Bounding rectangle for the gradient


In This Topic
    FillBackgroundWithGradient Method (PSObject)
    In This Topic
    Fills the background with a gradient.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub FillBackgroundWithGradient( _
       ByVal g As Graphics, _
       ByVal r As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As PSObject
    Dim g As Graphics
    Dim r As Rectangle
     
    instance.FillBackgroundWithGradient(g, r)
    protected virtual void FillBackgroundWithGradient( 
       Graphics g,
       Rectangle r
    )

    Parameters

    g
    Graphics device
    r
    Bounding rectangle for the gradient
    See Also