SpreadsheetGear 2023
DrawToBitmap Method (WorkbookDesigner)


SpreadsheetGear.Windows.Forms Namespace > WorkbookDesigner Class : DrawToBitmap Method
Syntax
'Declaration
 
<System.Security.Permissions.UIPermissionAttribute(UIPermissionWindow.AllWindows)>
Public Sub DrawToBitmap( _
   ByVal bitmap As System.Drawing.Bitmap, _
   ByVal targetBounds As System.Drawing.Rectangle _
) 
'Usage
 
Dim instance As WorkbookDesigner
Dim bitmap As System.Drawing.Bitmap
Dim targetBounds As System.Drawing.Rectangle
 
instance.DrawToBitmap(bitmap, targetBounds)
[System.Security.Permissions.UIPermission(UIPermissionWindow.AllWindows)]
public void DrawToBitmap( 
   System.Drawing.Bitmap bitmap,
   System.Drawing.Rectangle targetBounds
)

Parameters

bitmap
targetBounds
Requirements

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

See Also

Reference

WorkbookDesigner Class
WorkbookDesigner Members