Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSShape Class / FillBackgroundWithGradient Method
Graphics device
Bounding rectangle for the shape


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

    Parameters

    g
    Graphics device
    r
    Bounding rectangle for the shape
    See Also