Draw(Graphics,Rectangle,String,Image) Method
In This Topic
Draws the content at the specified location and with the specified size.
Syntax
'Declaration
Public Overloads Overridable Sub Draw( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.String, _
ByVal As System.Drawing.Image _
)
public virtual void Draw(
System.Drawing.Graphics ,
System.Drawing.Rectangle ,
System.string ,
System.Drawing.Image
)
Parameters
- g
- A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
- r
- The rectangle area to draw.
- s
- The string to draw.
- img
- The image to draw.
See Also