Spread Windows Forms 12.0 Product Documentation
Paint(Graphics,Rectangle) Method


FarPoint.Win Assembly > FarPoint.Win Namespace > Picture Class > Paint Method : Paint(Graphics,Rectangle) Method

Graphics to display

Rectangle area in which to paint
For more information, see the Rectangle structure in the Microsoft .NET Framework Reference.
Paints the picture inside 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
For more information, see the Rectangle structure in the Microsoft .NET Framework Reference.
See Also

Reference

Picture Class
Picture Members
Overload List