Spread Windows Forms 18
FarPoint.Win Assembly / FarPoint.Win Namespace / Picture Class / Paint Method / Paint(Graphics,Rectangle) Method
Graphics to display
Rectangle area in which to paint


In This Topic
    Paint(Graphics,Rectangle) Method
    In This Topic
    Paints the picture in the specified rectangle.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Paint( _
       ByVal g As Graphics, _
       ByVal rect As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As Picture
    Dim g As Graphics
    Dim rect As Rectangle
     
    instance.Paint(g, rect)
    public virtual void Paint( 
       Graphics g,
       Rectangle rect
    )

    Parameters

    g
    Graphics to display
    rect
    Rectangle area in which to paint
    See Also