Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / FillBackgroundWithGradient Method
Graphics device
Bounding rectangle for the shape


In This Topic
    FillBackgroundWithGradient Method (ChartShape)
    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 ChartShape
    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