Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / CrescentShape Class / OnPaintBackground Method / OnPaintBackground(Graphics,Rectangle) Method
Graphics device interface
Rectangle to redraw


In This Topic
    OnPaintBackground(Graphics,Rectangle) Method
    In This Topic
    Initiates a redraw for the object to repaint its background.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub OnPaintBackground( _
       ByVal g As Graphics, _
       ByVal rectInput As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As CrescentShape
    Dim g As Graphics
    Dim rectInput As Rectangle
     
    instance.OnPaintBackground(g, rectInput)
    public virtual void OnPaintBackground( 
       Graphics g,
       Rectangle rectInput
    )

    Parameters

    g
    Graphics device interface
    rectInput
    Rectangle to redraw
    See Also