Visual Basic (Declaration) | |
---|---|
Public Sub DrawContent( _ ByVal graphics As Graphics, _ ByVal rectangle As Rectangle _ ) |
Parameters
- graphics
- The specified graphics object.
- rectangle
- The rectangle to draw.
OnPaint calls this method.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2