Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadCameraShape Class / OnPaint Method / OnPaint(Graphics,Rectangle) Method
The System.Drawing.Graphics context
The painting rectangle


In This Topic
    OnPaint(Graphics,Rectangle) Method
    In This Topic
    Handles painting logic
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub OnPaint( _
       ByVal g As Graphics, _
       ByVal rectInput As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As SpreadCameraShape
    Dim g As Graphics
    Dim rectInput As Rectangle
     
    instance.OnPaint(g, rectInput)
    public override void OnPaint( 
       Graphics g,
       Rectangle rectInput
    )

    Parameters

    g
    The System.Drawing.Graphics context
    rectInput
    The painting rectangle
    See Also