Dundas Chart for Windows Forms
DrawToBitmap Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : DrawToBitmap Method


bitmap
The bitmap to be drawn to.
targetBounds
The bounds within which the control is rendered.
Supports rendering to the specified bitmap.

Syntax

Visual Basic (Declaration)  
Public Sub DrawToBitmap( _
   ByVal bitmap As Bitmap, _
   ByVal targetBounds As Rectangle _
) 
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim bitmap As Bitmap
Dim targetBounds As Rectangle
 
instance.DrawToBitmap(bitmap, targetBounds)
C#  
public void DrawToBitmap( 
   Bitmap bitmap,
   Rectangle targetBounds
)

Parameters

bitmap
The bitmap to be drawn to.
targetBounds
The bounds within which the control is rendered.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.