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


In This Topic
    FillBackgroundWithGradient Method (BannerShape)
    In This Topic
    Fills the background of the object with a gradient.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub FillBackgroundWithGradient( _
       ByVal g As Graphics, _
       ByVal r As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As BannerShape
    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 shape
    See Also