'Declaration
<System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or _ UIPermissionWindow.SafeTopLevelWindows Or _ UIPermissionWindow.AllWindows, Clipboard=UIPermissionClipboard.NoClipboard, Action=SecurityAction.Demand, Unrestricted=False)> Public Sub DrawToBitmap( _ ByVal bitmap As System.Drawing.Bitmap, _ ByVal targetBounds As System.Drawing.Rectangle _ )
'Usage
Dim instance As EditSourceDialog Dim bitmap As System.Drawing.Bitmap Dim targetBounds As System.Drawing.Rectangle instance.DrawToBitmap(bitmap, targetBounds)
[System.Security.Permissions.UIPermission(Window=UIPermissionWindow.SafeSubWindows | UIPermissionWindow.SafeTopLevelWindows | UIPermissionWindow.AllWindows, Clipboard=UIPermissionClipboard.NoClipboard, Action=SecurityAction.Demand, Unrestricted=false)] public void DrawToBitmap( System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds )
Parameters
- bitmap
- targetBounds