In This Topic
Draws the content at the specified location and with the specified size.
Syntax
'Declaration
Public Overridable Sub DrawContent( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.String, _
ByVal As System.Drawing.Image _
)
public virtual void DrawContent(
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