'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 NPaletteColorPane 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